02c78a5c15
## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes #38743. Fixes: https://github.com/vercel/next.js/pull/38750 The PR adds basic `TemplateLiteral` support for static analysis. The corresponding re-production of #38743 has also been implemented in e2e tests.
1.6 KiB
1.6 KiB
Invalid Page / API Route Config
Why This Error Occurred
In one of your pages or API Routes you did export const config
with an invalid value.
Possible Ways to Fix It
The page's config must be an object initialized directly when being exported and not modified dynamically. The config object must only contains static constant literals without expressions.
Not Allowed | Allowed |
---|---|
|
|
|
|
|
|
|
|