Fix stats reporting. Add Vite compatibility
This commit is contained in:
@@ -99,7 +99,6 @@ const load_page = (pathname: string, history: boolean): boolean => {
|
||||
}
|
||||
|
||||
window.document.title = current_page.title+" / FNX"
|
||||
console.debug("Page", current_page)
|
||||
|
||||
if(history) {
|
||||
window.history.pushState({}, window.document.title, pathname)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { ComponentType } from "svelte";
|
||||
import type { Component } from "svelte";
|
||||
import { writable } from "svelte/store";
|
||||
|
||||
export type Tab = {
|
||||
path: string,
|
||||
prefix?: string,
|
||||
title: string,
|
||||
component?: ComponentType,
|
||||
component?: Component,
|
||||
footer?: boolean,
|
||||
login?: boolean,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user