diff --git a/.env b/.env index c1370ea..3f314e9 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -REACT_APP_APISERVER=https://api.audible-converter.ml \ No newline at end of file +REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net \ No newline at end of file diff --git a/.env.production b/.env.production index c1370ea..3f314e9 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -REACT_APP_APISERVER=https://api.audible-converter.ml \ No newline at end of file +REACT_APP_APISERVER=https://aaxapiserverfunction20220831180001.azurewebsites.net \ No newline at end of file diff --git a/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml b/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml index 5963d83..98d24fa 100644 --- a/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml +++ b/.github/workflows/azure-static-web-apps-polite-island-035a0b503.yml @@ -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 diff --git a/src/index.js b/src/index.js index 03df2c1..a6df2b7 100644 --- a/src/index.js +++ b/src/index.js @@ -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)