refactor: Remove unnecessary output property in next.config.js

This commit is contained in:
mauro-balades 2024-09-02 20:51:56 +02:00
parent 9fab23d159
commit 406ff44bb4
10 changed files with 21 additions and 171 deletions

View file

@ -4,6 +4,6 @@ import {routing} from './i18n/routing';
export default createMiddleware(routing);
export const config = {
// Match only internationalized pathnames
matcher: ['/', '/(de|en)/:path*']
// Match only internationalized pathnames and all paths that dont start with static
matcher: ['/', '/:path((?!_next|next|static).*)*'],
};