Files
ttstd-infinite-canvas/web/src/main.tsx
2026-09-02 20:33:25 +08:00

20 lines
562 B
TypeScript

import { runLocalRuntimeBootstrap } from "@/services/local-runtime-bootstrap";
import { bootstrapAppearance } from "@/services/appearance-bootstrap";
runLocalRuntimeBootstrap(
{
get href() {
return window.location.href;
},
replaceUrl(url) {
window.history.replaceState(window.history.state, "", url);
},
removeStorageItem(key) {
window.localStorage.removeItem(key);
},
},
() => {
void bootstrapAppearance().finally(() => import("./application"));
},
);