diff --git a/resources/favicon-dark.ico b/resources/favicon-dark.ico deleted file mode 100644 index 12f05d0c2..000000000 Binary files a/resources/favicon-dark.ico and /dev/null differ diff --git a/resources/favicon-dark.svg b/resources/favicon-dark.svg new file mode 100644 index 000000000..439c80809 --- /dev/null +++ b/resources/favicon-dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/favicon-light.ico b/resources/favicon-light.ico deleted file mode 100644 index f64685874..000000000 Binary files a/resources/favicon-light.ico and /dev/null differ diff --git a/resources/favicon-light.svg b/resources/favicon-light.svg new file mode 100644 index 000000000..08bd50e08 --- /dev/null +++ b/resources/favicon-light.svg @@ -0,0 +1,3 @@ + + + diff --git a/resources/favicon.ico b/resources/favicon.ico new file mode 100644 index 000000000..9b88bce89 Binary files /dev/null and b/resources/favicon.ico differ diff --git a/resources/index-dev-vscode.html b/resources/index-dev-vscode.html index 2239de4a6..7ad7e99ba 100644 --- a/resources/index-dev-vscode.html +++ b/resources/index-dev-vscode.html @@ -12,8 +12,8 @@ - - + + GitHub1s diff --git a/resources/index-hash.html b/resources/index-hash.html index a0bfa01d0..8bbeb9ebb 100644 --- a/resources/index-hash.html +++ b/resources/index-hash.html @@ -12,8 +12,8 @@ - - + + diff --git a/resources/index.html b/resources/index.html index d608acffd..253867c73 100644 --- a/resources/index.html +++ b/resources/index.html @@ -12,8 +12,8 @@ - - + + diff --git a/scripts/package/copy-resources.sh b/scripts/package/copy-resources.sh index 15c5c2ecd..7d78bcf4f 100755 --- a/scripts/package/copy-resources.sh +++ b/scripts/package/copy-resources.sh @@ -13,7 +13,7 @@ function main() { else cp resources/index.html dist/index.html fi - cp resources/*.ico dist + cp resources/favicon* dist cp resources/manifest.json dist echo "copy resources done!" diff --git a/vercel.json b/vercel.json index c256fdc02..6a1e04a10 100644 --- a/vercel.json +++ b/vercel.json @@ -28,7 +28,7 @@ ] }, { - "source": "/favicon(-dark|-light)?.ico", + "source": "/favicon(-dark|-light)?\\.(ico|svg)", "headers": [ { "key": "Cache-Control",