Browse Source

add some dev routes back

pull/281/head
mrjvs 3 years ago
parent
commit
9b3c1ffa28
  1. 14
      src/setup/App.tsx

14
src/setup/App.tsx

@ -40,8 +40,6 @@ function App() { @@ -40,8 +40,6 @@ function App() {
/>
{/* other */}
{process.env.NODE_ENV === "development" ? (
<>
<Route
exact
path="/dev"
@ -51,18 +49,22 @@ function App() { @@ -51,18 +49,22 @@ function App() {
/>
<Route
exact
path="/dev/test"
path="/dev/video"
component={lazy(
() => import("@/views/developer/TestView")
() => import("@/views/developer/VideoTesterView")
)}
/>
{/* developer routes that can abuse workers are disabled in production */}
{process.env.NODE_ENV === "development" ? (
<>
<Route
exact
path="/dev/video"
path="/dev/test"
component={lazy(
() => import("@/views/developer/VideoTesterView")
() => import("@/views/developer/TestView")
)}
/>
<Route
exact
path="/dev/providers"

Loading…
Cancel
Save