Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed6c16 commit 9a9b418Copy full SHA for 9a9b418
1 file changed
middleware/next.js
@@ -10,8 +10,7 @@ await nextApp.prepare()
10
function renderPageWithNext(req, res, next) {
11
const isNextDataRequest = req.path.startsWith('/_next') && !req.path.startsWith('/_next/data')
12
13
- // /playground is for playground static assets
14
- if (isNextDataRequest || req.path.startsWith('/playground')) {
+ if (isNextDataRequest) {
15
return nextHandleRequest(req, res)
16
}
17
0 commit comments