Merge branch 'dev' into dev

This commit is contained in:
panmlg 2023-04-28 12:32:49 +02:00 committed by GitHub
commit 571df9e0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 16 deletions

View File

@ -29,6 +29,9 @@
<!-- prevent darkreader extension from messing with our already dark site --> <!-- prevent darkreader extension from messing with our already dark site -->
<meta name="darkreader-lock" /> <meta name="darkreader-lock" />
<!-- disabling referrer can fix some provider problems -->
<meta name="referrer" content="no-referrer" />
<title>movie-web</title> <title>movie-web</title>
</head> </head>
<body> <body>

View File

@ -1,6 +1,6 @@
{ {
"name": "movie-web", "name": "movie-web",
"version": "3.0.13", "version": "3.0.14",
"private": true, "private": true,
"homepage": "https://movie-web.app", "homepage": "https://movie-web.app",
"dependencies": { "dependencies": {

View File

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

View File

@ -27,7 +27,7 @@
} }
}, },
"seasons": { "seasons": {
"seasonAndEpisode": "S{{saison}} E{{épisode}}" "seasonAndEpisode": "S{{season}} E{{episode}}"
}, },
"notFound": { "notFound": {
"genericTitle": "Introuvable", "genericTitle": "Introuvable",