由于上个仓库主线和分支差距过大且主线不再使用所以新建此仓库

This commit is contained in:
Yakumo Hokori
2025-12-14 02:30:23 +08:00
commit 703d53c6f3
49 changed files with 10806 additions and 0 deletions

30
next.config.js Normal file
View File

@@ -0,0 +1,30 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// 配置静态文件目录
async rewrites() {
return [
{
source: '/ubuntu/:path*',
destination: '/api/files/ubuntu/:path*',
},
{
source: '/centos/:path*',
destination: '/api/files/centos/:path*',
},
{
source: '/debian/:path*',
destination: '/api/files/debian/:path*',
},
{
source: '/archlinux/:path*',
destination: '/api/files/archlinux/:path*',
},
{
source: '/fedora/:path*',
destination: '/api/files/fedora/:path*',
},
];
},
};
module.exports = nextConfig;