]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/app/Routes.js
guessing game auto-tracking
[alttp.git] / resources / js / app / Routes.js
index 3f73834311d5014845eb3de1e642c1d7047dbd21..6391af142282f33dc2b5a883a2d03668bc613d3f 100644 (file)
@@ -116,6 +116,13 @@ const router = createBrowserRouter(
                                                '../pages/TwitchBot'
                                        )}
                                />
+                               <Route
+                                       path="twitch-legal"
+                                       lazy={() => import(
+                                               /* webpackChunkName: "twitch" */
+                                               '../pages/TwitchLegal'
+                                       )}
+                               />
                                <Route path="users/:id" element={<User />} />
                                <Route path="/" element={<Front />} />
                                <Route path="*" element={<Navigate to="/" />} />
@@ -135,6 +142,13 @@ const router = createBrowserRouter(
                                                '../pages/GuessingGameControls'
                                        )}
                                />
+                               <Route
+                                       path="monitor/:key"
+                                       lazy={() => import(
+                                               /* webpackChunkName: "guessing" */
+                                               '../pages/GuessingGameMonitor'
+                                       )}
+                               />
                        </Route>
                </Route>
        )