Fixed darkreader issue
This commit is contained in:
parent
d67e426f15
commit
1975bbc8d2
3 changed files with 6 additions and 4 deletions
|
@ -10,7 +10,7 @@ FROM forgejo.neshweb.net/ci-docker-images/website-serve:0.1.3 AS runtime
|
||||||
COPY --from=build /site/dist /public
|
COPY --from=build /site/dist /public
|
||||||
COPY --from=build /site/serve.json /public/serve.json
|
COPY --from=build /site/serve.json /public/serve.json
|
||||||
|
|
||||||
ENV PORT 8081
|
ENV PORT=8081
|
||||||
EXPOSE 8081
|
EXPOSE ${PORT}
|
||||||
|
|
||||||
CMD [ "serve", "public/", "-p", "8081" ]
|
CMD [ "serve", "public/", "-p", "${PORT}" ]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "fgo-ta-com-website",
|
"name": "fgo-ta-com-website",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.2.2-pre.7",
|
"version": "0.2.2-pre.8",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
|
|
|
@ -58,6 +58,8 @@ const mapped_navdata = navdata.map((item) => ({
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:locale" content="en_US" />
|
<meta property="og:locale" content="en_US" />
|
||||||
<meta name="theme-color" content="#b86cff" />
|
<meta name="theme-color" content="#b86cff" />
|
||||||
|
<!-- Disable DarkReader, as site is already in dark mode -->
|
||||||
|
<meta name="darkreader-lock">
|
||||||
<!-- Links -->
|
<!-- Links -->
|
||||||
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
<link rel="icon" type="image/ico" href="/favicon.ico" />
|
||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
|
|
Loading…
Reference in a new issue