From 266fc63482529d4f3d7841de098e6383d603c10e Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 11 Mar 2026 10:40:00 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20supprimer=20le=20d=C3=A9bogage=20de=20l'?= =?UTF-8?q?environnement=20et=20ajouter=20un=20journal=20pour=20la=20r?= =?UTF-8?q?=C3=A9cup=C3=A9ration=20des=20donn=C3=A9es=20de=20la=20page=20d?= =?UTF-8?q?'=C3=A9tat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cloudflare.yml | 7 ------- server/api/status-page.get.ts | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/cloudflare.yml b/.github/workflows/cloudflare.yml index 4756d15..ff8b536 100644 --- a/.github/workflows/cloudflare.yml +++ b/.github/workflows/cloudflare.yml @@ -34,13 +34,6 @@ jobs: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - - name: Debug env - run: | - echo "STATUS_PAGE defined: ${{ secrets.NUXT_STATUS_PAGE != '' }}" - echo "STATUS_PAGE length: ${#NUXT_STATUS_PAGE}" - env: - NUXT_STATUS_PAGE: ${{ secrets.NUXT_STATUS_PAGE }} - - name: Build run: bun run build env: diff --git a/server/api/status-page.get.ts b/server/api/status-page.get.ts index 39db436..8558dd7 100644 --- a/server/api/status-page.get.ts +++ b/server/api/status-page.get.ts @@ -1,5 +1,6 @@ export default defineCachedEventHandler(async (event) => { const { statusPage } = useRuntimeConfig(event) + console.log('Fetching status page data...', statusPage) return await $fetch(statusPage) }, { maxAge: 60,