Skip to content

Commit

Permalink
Also special case /data-api/*
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrich committed Nov 20, 2023
1 parent ce0ed58 commit 9061db9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ export function generateConfig(customStaticWebAppConfig, appDir) {
{
route: '/api/*'
},
{
route: '/data-api/*'
},
{
route: '*',
methods: ['POST', 'PUT', 'DELETE'],
Expand Down

0 comments on commit 9061db9

Please sign in to comment.