From 9061db96af7414040bc9789b27f8e1152c39c4a1 Mon Sep 17 00:00:00 2001 From: Geoff Rich <4992896+geoffrich@users.noreply.github.com> Date: Sun, 19 Nov 2023 16:24:47 -0800 Subject: [PATCH] Also special case /data-api/* --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 97c701e..829d9aa 100644 --- a/index.js +++ b/index.js @@ -199,6 +199,9 @@ export function generateConfig(customStaticWebAppConfig, appDir) { { route: '/api/*' }, + { + route: '/data-api/*' + }, { route: '*', methods: ['POST', 'PUT', 'DELETE'],