修改资源URL模式,不再存储https://domain 前缀

This commit is contained in:
2025-10-25 12:19:53 +08:00
parent f94ef73518
commit e4339a5b91
27 changed files with 347 additions and 137 deletions
+7 -1
View File
@@ -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 */
};