rsnext/packages/next
JJ Kasper 5b2c845e57
Ensure API routes are not available under the locale (#26629)
This ensures API routes are not available under the locale path since API routes don't need to be localized and we don't provide the locale to the API in any way currently so the user wouldn't be aware if the localized API route was visited instead of the non-localized. 

Fixes: https://github.com/vercel/next.js/issues/25790

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
2021-06-28 13:56:40 +00:00
..
bin next lint + ESLint in Create Next App (#25064) 2021-06-03 14:01:24 +02:00
build Add check for ObjectExpression when iterating on <link> tags for font optimization (#26608) 2021-06-25 14:51:53 +00:00
bundles Update to latest version of webpack 5 (#26102) 2021-06-15 07:59:41 +00:00
cli [ESLint] Adds --quiet flag, TypeScript resolver and bug fixes (#26280) 2021-06-18 15:17:53 +02:00
client Don't test image domains in test env (#26502) 2021-06-22 18:02:01 -05:00
compiled chore: Add Alex to lint documentation (#26354) 2021-06-22 16:03:12 +00:00
export Fix export worker threads options (#25063) 2021-05-14 12:50:29 +02:00
image-types Update to only add image import types when enabled (#26485) 2021-06-22 11:56:21 -05:00
lib Add comment to not edit in next-env file (#26573) 2021-06-24 15:32:46 +00:00
next-server Ensure API routes are not available under the locale (#26629) 2021-06-28 13:56:40 +00:00
pages Enable optimized loading strategy (#26021) 2021-06-12 11:26:47 +00:00
server Update to only add image import types when enabled (#26485) 2021-06-22 11:56:21 -05:00
telemetry Add trace url on bootup (#26594) 2021-06-25 13:55:46 +02:00
types Update to only add image import types when enabled (#26485) 2021-06-22 11:56:21 -05:00
amp.d.ts
amp.js
app.d.ts
app.js
babel.d.ts
babel.js
client.d.ts
client.js
config.d.ts
config.js
constants.d.ts
constants.js
data.d.ts
data.js
data.sqlite Fix export worker threads options (#25063) 2021-05-14 12:50:29 +02:00
document.d.ts
document.js
dynamic.d.ts
dynamic.js
error.d.ts
error.js
head.d.ts
head.js
image.d.ts Image component foundation (#17343) 2020-10-14 11:57:10 +02:00
image.js Image component foundation (#17343) 2020-10-14 11:57:10 +02:00
license.md Update license year for all packages 2021-01-11 11:12:19 +01:00
link.d.ts
link.js
package.json v11.0.2-canary.2 2021-06-25 14:01:34 +02:00
README.md docs(readme.md): add good first issue section to readme (#25085) 2021-05-18 16:10:01 -05:00
router.d.ts
router.js
script.d.ts Remove experimental tag from Script component (#25435) 2021-06-03 13:56:50 +02:00
script.js Remove experimental tag from Script component (#25435) 2021-06-03 13:56:50 +02:00
taskfile-babel.js Rename package build scripts to dev (#21743) 2021-02-03 17:02:44 +00:00
taskfile-ncc.js Add nccing AMP optimizer (#21980) 2021-02-11 09:55:56 +00:00
taskfile.js Ensure externals are correct for mini-css-extract-plugin (#25340) 2021-05-23 13:15:58 +02:00
tsconfig.json

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the full documentation.

Who is using Next.js?

Next.js is used by the world's leading companies. Check out the Next.js Showcase to learn more.

Community

The Next.js community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.

To chat with other community members you can join the Next.js Discord.

Our Code of Conduct applies to all Next.js community channels.

Contributing

Please see our contributing.md.

Good First Issues

We have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.

Authors