-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
priority: high (P0)High priorityHigh prioritystatus: release-blockerIssues blocking a major releaseIssues blocking a major release
Description
Discussed in #442
Originally posted by sig9 April 11, 2022
I am running into an issue where I see 405 errors when I run swa in front of nuxt using the content module.
With silly debugging turned on I see the method POST is not allowed to a path starting with /_content/ . Presumably because this does not start with /api.
Can there be more than one apiPrefix for a dev server setup?
I've experimented unsuccessfully with adding a route in staticwebapp.config.json.
{
"route": "/_content/*",
"allowedRoles": ["anonymous","authenticated"]
}
Metadata
Metadata
Assignees
Labels
priority: high (P0)High priorityHigh prioritystatus: release-blockerIssues blocking a major releaseIssues blocking a major release