update
This commit is contained in:
@ -14,4 +14,14 @@ export default defineConfig({
|
|||||||
port:4322,
|
port:4322,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
},
|
},
|
||||||
|
redirects: {
|
||||||
|
'/index': {
|
||||||
|
status: 301, // 永久重定向
|
||||||
|
destination: '/',
|
||||||
|
},
|
||||||
|
'/index.html': {
|
||||||
|
status: 301, // 永久重定向
|
||||||
|
destination: '/',
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user