fix: build

This commit is contained in:
Neko Ayaka
2024-12-03 16:21:39 +08:00
parent ee4878710e
commit fccc510146
3 changed files with 2 additions and 24 deletions
-1
View File
@@ -8,7 +8,6 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="アイリ" />
<link rel="manifest" href="/site.webmanifest" />
<script>
;(function () {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
+2 -2
View File
@@ -1,9 +1,9 @@
[build]
publish = "dist"
publish = "packages/stage/dist"
command = "pnpm run build"
[build.environment]
NODE_VERSION = "20"
NODE_VERSION = "22"
[[redirects]]
from = "/assets/*"
-21
View File
@@ -1,21 +0,0 @@
{
"name": "アイリ",
"short_name": "アイリ",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}