mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 17:30:01 +02:00
refactor: Remove unnecessary output property in next.config.js
This commit is contained in:
parent
c338f3d04e
commit
9fab23d159
2 changed files with 10 additions and 1 deletions
|
@ -45,4 +45,4 @@ const nextConfig = (phase, { defaultConfig }) => {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = {...withNextIntl(nextConfig), output: 'export'};
|
module.exports = {...withNextIntl(nextConfig)};
|
||||||
|
|
9
src/middleware.ts
Normal file
9
src/middleware.ts
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import createMiddleware from 'next-intl/middleware';
|
||||||
|
import {routing} from './i18n/routing';
|
||||||
|
|
||||||
|
export default createMiddleware(routing);
|
||||||
|
|
||||||
|
export const config = {
|
||||||
|
// Match only internationalized pathnames
|
||||||
|
matcher: ['/', '/(de|en)/:path*']
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue