fix console error about "window" unavailable due to service worker

This commit is contained in:
2025-05-26 15:49:44 -06:00
parent f0c947ba07
commit c1d730f586
6 changed files with 5 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ export const DEFAULT_PARTNER_API_SERVER =
AppString.TEST_PARTNER_API_SERVER;
export const DEFAULT_PUSH_SERVER =
window.location.protocol + "//" + window.location.host;
import.meta.env.VITE_DEFAULT_PUSH_SERVER || "https://timesafari.app";
export const IMAGE_TYPE_PROFILE = "profile";