ps99-api 2.3.1 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const CACHE_NAME = "ps99-cache-v2";
|
|
2
2
|
const urlsToCache = [
|
|
3
|
-
"/",
|
|
4
|
-
"/bundle.js",
|
|
5
|
-
"/manifest.json",
|
|
6
|
-
"/icons/icon-192x192.png",
|
|
7
|
-
"/icons/icon-512x512.png",
|
|
8
|
-
"/collections",
|
|
3
|
+
"/node-ps99-api/",
|
|
4
|
+
"/node-ps99-api/bundle.js",
|
|
5
|
+
"/node-ps99-api/manifest.json",
|
|
6
|
+
"/node-ps99-api/icons/icon-192x192.png",
|
|
7
|
+
"/node-ps99-api/icons/icon-512x512.png",
|
|
8
|
+
"/node-ps99-api/collections",
|
|
9
9
|
];
|
|
10
10
|
|
|
11
11
|
self.addEventListener("install", (event) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { HashRouter as Router, Routes, Route } from "react-router-dom";
|
|
3
3
|
import HomePage from "./components/HomePage";
|
|
4
4
|
import Header from "./components/Header";
|
|
5
5
|
import CollectionsIndex from "./components/CollectionsIndex";
|
|
@@ -9,7 +9,7 @@ import Footer from "./components/Footer";
|
|
|
9
9
|
|
|
10
10
|
const App: React.FC = () => {
|
|
11
11
|
return (
|
|
12
|
-
<Router
|
|
12
|
+
<Router>
|
|
13
13
|
<Header />
|
|
14
14
|
<Routes>
|
|
15
15
|
<Route path="/" element={<HomePage />} />
|