AAAA
This commit is contained in:
parent
16779b0d6c
commit
85afb63789
4 changed files with 5 additions and 3 deletions
2
.env
2
.env
|
@ -1 +1 @@
|
|||
REACT_APP_APISERVER=https://api.audible-converter.ml
|
||||
REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net
|
|
@ -1 +1 @@
|
|||
REACT_APP_APISERVER=https://api.audible-converter.ml
|
||||
REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net
|
|
@ -20,6 +20,8 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install Dependencies
|
||||
run: npm install --legacy-peer-deps
|
||||
- name: Build And Deploy
|
||||
id: builddeploy
|
||||
uses: Azure/static-web-apps-deploy@v1
|
||||
|
|
|
@ -48,7 +48,7 @@ async function WakeUp() {
|
|||
while (true) {
|
||||
let timeout = 1000 * 60; // 60 seconds
|
||||
try {
|
||||
await fetch('https://api.audible-converter.ml/api/v2/WakeUpNeo')
|
||||
await fetch('https://aaxapiserverfunction20220831180001.azurewebsites.net/api/v2/WakeUpNeo')
|
||||
console.log('Woke up')
|
||||
} catch (ex) {
|
||||
console.log('Error occured: ' + ex)
|
||||
|
|
Loading…
Reference in a new issue