Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9a9b418

Browse files
authored
Remove '/playground*' route handling (#21821)
1 parent aed6c16 commit 9a9b418

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

middleware/next.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ await nextApp.prepare()
1010
function renderPageWithNext(req, res, next) {
1111
const isNextDataRequest = req.path.startsWith('/_next') && !req.path.startsWith('/_next/data')
1212

13-
// /playground is for playground static assets
14-
if (isNextDataRequest || req.path.startsWith('/playground')) {
13+
if (isNextDataRequest) {
1514
return nextHandleRequest(req, res)
1615
}
1716

0 commit comments

Comments
 (0)