fix: pwa cache

This commit is contained in:
hamster1963
2024-12-05 10:20:45 +08:00
parent 4032ff62a2
commit 9073fa6429
8 changed files with 139 additions and 3 deletions
+2
View File
@@ -6,6 +6,7 @@ import Server from "./pages/Server";
import ServerDetail from "./pages/ServerDetail";
import NotFound from "./pages/NotFound";
import ErrorPage from "./pages/ErrorPage";
import ReloadPrompt from "./components/ReloadPrompt";
const App: React.FC = () => {
return (
@@ -20,6 +21,7 @@ const App: React.FC = () => {
<Route path="*" element={<NotFound />} />
</Routes>
<Footer />
<ReloadPrompt />
</main>
</div>
</Router>