mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 08:06:06 +00:00
dynamic opensearch xml
This commit is contained in:
parent
21fb338631
commit
d371321116
|
@ -55,7 +55,6 @@
|
|||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>{{ message }}</p>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/index.tsx"></script>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"core-js": "^3.29.1",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dompurify": "^3.0.1",
|
||||
"dotenv": "^16.3.1",
|
||||
"fscreen": "^1.2.0",
|
||||
"fuse.js": "^6.4.6",
|
||||
"hls.js": "^1.0.7",
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
<ShortName>movie-web</ShortName>
|
||||
<Description>The place for your favorite movies & shows</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Url type="text/html" template="https://movie-web.app/browse/{searchTerms}" />
|
||||
<Url type="text/html" template="{{ appdomain }}/browse/{searchTerms}" />
|
||||
</OpenSearchDescription>
|
|
@ -1 +0,0 @@
|
|||
msg: '{{ message }}'!
|
|
@ -5,12 +5,14 @@ import { VitePWA } from "vite-plugin-pwa";
|
|||
import checker from "vite-plugin-checker";
|
||||
import path from "path";
|
||||
import { handlebars } from "./plugins/handlebars";
|
||||
import dotenv from 'dotenv';
|
||||
dotenv.config();
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
plugins:[
|
||||
handlebars({
|
||||
vars: {
|
||||
message: "HELLOWORLD"
|
||||
appdomain: process.env.APP_DOMAIN,
|
||||
},
|
||||
}),
|
||||
react({
|
||||
|
|
|
@ -2448,6 +2448,11 @@ dompurify@^3.0.1:
|
|||
resolved "https://registry.yarnpkg.com/dompurify/-/dompurify-3.0.2.tgz#bc4c7c011c825e7704341a285461d8d407d9429a"
|
||||
integrity sha512-B8c6JdiEpxAKnd8Dm++QQxJL4lfuc757scZtcapj6qjTjrQzyq5iAyznLKVvK+77eYNiFblHBlt7MM0fOeqoKw==
|
||||
|
||||
dotenv@^16.3.1:
|
||||
version "16.3.1"
|
||||
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e"
|
||||
integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==
|
||||
|
||||
eastasianwidth@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
|
||||
|
|
Loading…
Reference in a new issue