Fixed darkreader issue
All checks were successful
/ checking (push) Successful in 11s
/ publish (push) Successful in 7s
/ build-site (push) Successful in 8m7s

This commit is contained in:
Firq 2024-07-16 19:30:04 +02:00
parent d67e426f15
commit 1975bbc8d2
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
3 changed files with 6 additions and 4 deletions

View file

@ -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}" ]

View file

@ -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",

View file

@ -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" />