修改资源URL模式,不再存储https://domain 前缀
This commit is contained in:
+7
-1
@@ -5,7 +5,13 @@ const nextConfig: NextConfig = {
|
||||
'playwright-extra',
|
||||
'puppeteer-extra-plugin-stealth',
|
||||
'puppeteer-extra-plugin',
|
||||
],
|
||||
], webpack: (config) => {
|
||||
config.module.rules.push({
|
||||
test: /\.(md|txt)$/i,
|
||||
type: 'asset/source', // 让这些文件作为纯文本注入
|
||||
});
|
||||
return config;
|
||||
},
|
||||
/* config options here */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user