feat: implement password

This commit is contained in:
shinya
2025-06-23 22:58:16 +08:00
parent 44cd7d0ed3
commit a9ad984564
9 changed files with 199 additions and 23 deletions

View File

@@ -8,18 +8,6 @@ const nextConfig = {
reactStrictMode: true,
swcMinify: true,
/**
* 在编译阶段将 STORAGE_TYPE 写入环境变量,供浏览器端与服务端统一读取。
*/
env: (function () {
// 编译阶段优先使用传入的环境变量;默认 localstorage
const storageType = process.env.STORAGE_TYPE || 'localstorage';
return {
STORAGE_TYPE: storageType,
};
})(),
// Uncoment to add domain whitelist
images: {
remotePatterns: [