Skip to content

Commit

Permalink
修复图片为http连接的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
master1lan committed Jan 25, 2023
1 parent 124241b commit 34b8d9f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ node_modules
dist
dist-ssr
*.local
pnpm-lock.yaml

# Editor directories and files
.vscode/*
!.vscode/extensions.json
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="referrer" content="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="renderer" content="webkit" />
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<link rel="preconnect" href="https://s1.hdslb.com" crossorigin>
<link rel="dns-prefetch" href="https://s1.hdslb.com">
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
Expand Down
9 changes: 9 additions & 0 deletions public/staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"navigationFallback": {
"rewrite": "index.html",
"exclude": ["/assets/*"]
},
"mimeTypes": {
".json": "text/json"
}
}

0 comments on commit 34b8d9f

Please sign in to comment.