From 95d7bc197c66fcf8b333ddb867b6eca06043e562 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Damaschke <jdamaschke@visorian.com> Date: Tue, 2 Jan 2024 03:14:42 +0100 Subject: [PATCH] ci(ci): :green_heart: Updated ci workflow --- .../azure-static-web-apps-icy-glacier-0865d4503.yml | 1 + playground/staticwebapp.config.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-icy-glacier-0865d4503.yml b/.github/workflows/azure-static-web-apps-icy-glacier-0865d4503.yml index 39b5576..ff01bdd 100644 --- a/.github/workflows/azure-static-web-apps-icy-glacier-0865d4503.yml +++ b/.github/workflows/azure-static-web-apps-icy-glacier-0865d4503.yml @@ -33,6 +33,7 @@ jobs: PRE_BUILD_COMMAND: npm install -g pnpm CUSTOM_BUILD_COMMAND: pnpm install && pnpm -w run dev:prepare && pnpm -w run dev:build NODE_VERSION: 18.17.1 + POST_BUILD_COMMAND: cp staticwebapp.config.json .output/public/staticwebapp.config.json close_pull_request_job: if: github.event_name == 'pull_request' && github.event.action == 'closed' diff --git a/playground/staticwebapp.config.json b/playground/staticwebapp.config.json index e7a123b..69f9c1b 100644 --- a/playground/staticwebapp.config.json +++ b/playground/staticwebapp.config.json @@ -13,6 +13,9 @@ "apiRuntime": "node:18" }, "navigationFallback": { - "rewrite": "/api/server" + "rewrite": "/api/server", + "exclude": [ + "/_nuxt/*" + ] } }