fix prod bug
This commit is contained in:
@@ -9253,6 +9253,11 @@ function createWebHistory(base2) {
|
||||
});
|
||||
return routerHistory;
|
||||
}
|
||||
function createWebHashHistory(base2) {
|
||||
base2 = location.host ? base2 || location.pathname + location.search : "";
|
||||
if (!base2.includes("#")) base2 += "#";
|
||||
return createWebHistory(base2);
|
||||
}
|
||||
let TokenType = /* @__PURE__ */ (function(TokenType2) {
|
||||
TokenType2[TokenType2["Static"] = 0] = "Static";
|
||||
TokenType2[TokenType2["Param"] = 1] = "Param";
|
||||
@@ -10704,7 +10709,6 @@ const _sfc_main$9 = {
|
||||
createBaseVNode("div", _hoisted_1$8, [
|
||||
createVNode(_sfc_main$b, {
|
||||
class: "menu-item",
|
||||
category: "Special Delivery",
|
||||
onNoteOpened: unref(closeMenu)
|
||||
}, null, 8, ["onNoteOpened"]),
|
||||
createVNode(_component_router_link, {
|
||||
@@ -87785,7 +87789,7 @@ const routes = [
|
||||
{ path: "/instructions", name: "instructions", component: Instructions }
|
||||
];
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: createWebHashHistory(),
|
||||
routes
|
||||
});
|
||||
const app = createApp(_sfc_main$7);
|
||||
Reference in New Issue
Block a user