forked from trent_larson/crowd-funder-for-time-pwa
fix console error about "window" unavailable due to service worker
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user