This commit is contained in:
toom1996
2025-07-17 11:51:35 +08:00
parent 5d55667cd3
commit f552859dc0

View File

@ -14,4 +14,14 @@ export default defineConfig({
port:4322,
host: '0.0.0.0',
},
redirects: {
'/index': {
status: 301, // 永久重定向
destination: '/',
},
'/index.html': {
status: 301, // 永久重定向
destination: '/',
},
},
});