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,