We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39563d1 commit 36786a1Copy full SHA for 36786a1
server.js
@@ -12,8 +12,7 @@ const DEFAULT_LOCALE = 'zh';
12
const FALLBACK_LOCALE = 'en';
13
const SUPPORTED_LOCALES = ['zh', 'en'];
14
15
-const isStaticRoute = (url) =>
16
- url.startsWith('/_next') || url.startsWith('/static');
+const isStaticRoute = (url) => url.startsWith('/_next/data/');
17
18
const getLocaleFromUrl = (path) => {
19
const urlParts = path.split('/');
0 commit comments