mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix test/dev
This commit is contained in:
parent
0a17d7c7cf
commit
e3c38605b5
2 changed files with 6 additions and 5 deletions
|
@ -168,10 +168,10 @@ function App() {
|
|||
{/* other */}
|
||||
<Route path="/dev" element={<DeveloperPage />} />
|
||||
<Route path="/dev/video" element={<VideoTesterView />} />
|
||||
{/* developer routes that can abuse workers are disabled in production (idgaf) */}
|
||||
{/* {process.env.NODE_ENV === "development" ? ( */}
|
||||
<Route path="/dev/test" element={<TestView />} />
|
||||
{/* ) : null} */}
|
||||
{/* developer routes that can abuse workers are disabled in production */}
|
||||
{process.env.NODE_ENV === "development" ? (
|
||||
<Route path="/dev/test" element={<TestView />} />
|
||||
) : null}
|
||||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Routes>
|
||||
)}
|
||||
|
|
|
@ -95,7 +95,8 @@ export function ExtensionBanner(props: {
|
|||
bannerText = "The extension does'nt have the necessary permissions.";
|
||||
break;
|
||||
case "outdated":
|
||||
bannerText = "Your extension is outdated. Please update it <bold>here</bold>.";
|
||||
bannerText =
|
||||
"Your extension is outdated. Please update it <bold>here</bold>.";
|
||||
break;
|
||||
case "disallowed":
|
||||
bannerText =
|
||||
|
|
Loading…
Reference in a new issue