fix: prevent local dev from throwing ssl error

This commit is contained in:
Zack Spear
2024-04-30 18:47:13 -07:00
committed by Zack Spear
parent c97a4f1268
commit 008e10948e

View File

@@ -787,7 +787,7 @@ export const useServerStore = defineStore('server', () => {
* Deprecation warning for [hash].unraid.net SSL certs. Deprecation started 2023-01-01
*/
const deprecatedUnraidSSL = ref<Error | undefined>(
(window.location.hostname.includes('localhost')
(window.location.hostname.includes('localhost') && window.location.port !== '4321'
? {
actions: [
{