forked from trent_larson/crowd-funder-for-time-pwa
update web push servers to the domains we're using
This commit is contained in:
@@ -12,11 +12,11 @@ export enum AppString {
|
|||||||
|
|
||||||
DEFAULT_ENDORSER_API_SERVER = TEST_ENDORSER_API_SERVER,
|
DEFAULT_ENDORSER_API_SERVER = TEST_ENDORSER_API_SERVER,
|
||||||
|
|
||||||
PROD_PUSH_SERVER = "https://push.endorser.ch",
|
PROD_PUSH_SERVER = "https://timesafari.app",
|
||||||
TEST_PUSH_SERVER = "https://timesafari-pwa.anomalistlabs.com",
|
TEST1_PUSH_SERVER = "https://test.timesafari.app",
|
||||||
LOCAL_PUSH_SERVER = "http://localhost:3001",
|
TEST2_PUSH_SERVER = "https://timesafari-pwa.anomalistlabs.com",
|
||||||
|
|
||||||
DEFAULT_PUSH_SERVER = TEST_PUSH_SERVER,
|
DEFAULT_PUSH_SERVER = TEST1_PUSH_SERVER,
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -323,19 +323,19 @@
|
|||||||
<fa icon="floppy-disk" class="fa-fw" color="white"></fa>
|
<fa icon="floppy-disk" class="fa-fw" color="white"></fa>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="apiServerInput = AppConstants.PROD_ENDORSER_API_SERVER"
|
@click="apiServerInput = AppConstants.PROD_ENDORSER_API_SERVER"
|
||||||
>
|
>
|
||||||
Use Prod
|
Use Prod
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="apiServerInput = AppConstants.TEST_ENDORSER_API_SERVER"
|
@click="apiServerInput = AppConstants.TEST_ENDORSER_API_SERVER"
|
||||||
>
|
>
|
||||||
Use Test
|
Use Test
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="apiServerInput = AppConstants.LOCAL_ENDORSER_API_SERVER"
|
@click="apiServerInput = AppConstants.LOCAL_ENDORSER_API_SERVER"
|
||||||
>
|
>
|
||||||
Use Local
|
Use Local
|
||||||
@@ -359,22 +359,22 @@
|
|||||||
<fa icon="floppy-disk" class="fa-fw" color="white"></fa>
|
<fa icon="floppy-disk" class="fa-fw" color="white"></fa>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="webPushServerInput = AppConstants.PROD_PUSH_SERVER"
|
@click="webPushServerInput = AppConstants.PROD_PUSH_SERVER"
|
||||||
>
|
>
|
||||||
Use Prod
|
Use Prod
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="webPushServerInput = AppConstants.TEST_PUSH_SERVER"
|
@click="webPushServerInput = AppConstants.TEST1_PUSH_SERVER"
|
||||||
>
|
>
|
||||||
Use Test
|
Use Test 1
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="px-4 rounded bg-slate-200 border border-slate-400"
|
class="px-3 rounded bg-slate-200 border border-slate-400"
|
||||||
@click="webPushServerInput = AppConstants.LOCAL_PUSH_SERVER"
|
@click="webPushServerInput = AppConstants.TEST2_PUSH_SERVER"
|
||||||
>
|
>
|
||||||
Use Local
|
Use Test 2
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user