This commit is contained in:
JKamsker 2023-07-27 23:16:28 +02:00
parent 16779b0d6c
commit 85afb63789
4 changed files with 5 additions and 3 deletions

2
.env
View file

@ -1 +1 @@
REACT_APP_APISERVER=https://api.audible-converter.ml
REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net

View file

@ -1 +1 @@
REACT_APP_APISERVER=https://api.audible-converter.ml
REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net

View file

@ -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

View file

@ -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)