Update next.config.js

This commit is contained in:
QianyuPan 2024-02-28 13:48:59 +08:00 committed by GitHub
parent 253ee5189b
commit 7ef2045f3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,14 +152,14 @@ const config = {
return config;
},
async headers() {
return [
{
source: '/:path*',
headers,
},
];
},
// async headers() {
// return [
// {
// source: '/:path*',
// headers,
// },
// ];
// },
async rewrites() {
return [
...rewrites,