]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/app/Routes.js
update muffinstracker
[alttp.git] / resources / js / app / Routes.js
index 3f73834311d5014845eb3de1e642c1d7047dbd21..b7269e23b60e94d05b7068f5f16c84a2f8a2a771 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="/" />} />
@@ -129,12 +136,19 @@ const router = createBrowserRouter(
                        />
                        <Route path="guessing-game">
                                <Route
-                                       path="controls"
+                                       path="controls/:channelId?"
                                        lazy={() => import(
                                                /* webpackChunkName: "guessing" */
                                                '../pages/GuessingGameControls'
                                        )}
                                />
+                               <Route
+                                       path="monitor/:key"
+                                       lazy={() => import(
+                                               /* webpackChunkName: "guessing" */
+                                               '../pages/GuessingGameMonitor'
+                                       )}
+                               />
                        </Route>
                </Route>
        )