diff --git a/index.js b/index.js index d984241..97c701e 100644 --- a/index.js +++ b/index.js @@ -196,6 +196,9 @@ export function generateConfig(customStaticWebAppConfig, appDir) { ...customStaticWebAppConfig, routes: [ ...customStaticWebAppConfig.routes, + { + route: '/api/*' + }, { route: '*', methods: ['POST', 'PUT', 'DELETE'],