feat: update build script to include post-build processing and add postbuild script for more directory setup

This commit is contained in:
xiaozhou233 committed 2026-08-07 14:29:03 +08:00
1 parent 4c5352a3e2
commit 1013b51f25
3 files changed
+14 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import MorePage from "./pages/MorePage";
export default function App() {
const { pathname } = window.location;
if (pathname === "/more" || pathname === "/more/") {
if (/^\/more(\/index\.html)?\/?$/.test(pathname)) {
return <MorePage />;
}