mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 00:51:48 +01:00
Merge pull request #281 from movie-web/fix-referer-maybe
Fix referer maybe
This commit is contained in:
commit
fd6895c326
@ -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>
|
||||||
|
@ -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": {
|
||||||
|
@ -40,15 +40,23 @@ function App() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{/* other */}
|
{/* other */}
|
||||||
|
<Route
|
||||||
|
exact
|
||||||
|
path="/dev"
|
||||||
|
component={lazy(
|
||||||
|
() => import("@/views/developer/DeveloperView")
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
<Route
|
||||||
|
exact
|
||||||
|
path="/dev/video"
|
||||||
|
component={lazy(
|
||||||
|
() => import("@/views/developer/VideoTesterView")
|
||||||
|
)}
|
||||||
|
/>
|
||||||
|
{/* developer routes that can abuse workers are disabled in production */}
|
||||||
{process.env.NODE_ENV === "development" ? (
|
{process.env.NODE_ENV === "development" ? (
|
||||||
<>
|
<>
|
||||||
<Route
|
|
||||||
exact
|
|
||||||
path="/dev"
|
|
||||||
component={lazy(
|
|
||||||
() => import("@/views/developer/DeveloperView")
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
path="/dev/test"
|
path="/dev/test"
|
||||||
@ -56,13 +64,7 @@ function App() {
|
|||||||
() => import("@/views/developer/TestView")
|
() => import("@/views/developer/TestView")
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
<Route
|
|
||||||
exact
|
|
||||||
path="/dev/video"
|
|
||||||
component={lazy(
|
|
||||||
() => import("@/views/developer/VideoTesterView")
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
path="/dev/providers"
|
path="/dev/providers"
|
||||||
|
Loading…
Reference in New Issue
Block a user