Fix pwa cors (#5427)

This commit is contained in:
沈唁 2023-02-17 17:33:58 +08:00 committed by GitHub
parent 3bbbfbd2eb
commit 86ded14662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Hyperf框架官方文档"> <meta name="description" content="Hyperf框架官方文档">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="apple-touch-icon" href="//hyperf.wiki/3.0/logo.png"> <link rel="apple-touch-icon" href="/3.0/logo.png">
<link rel="manifest" href="//hyperf.wiki/3.0/manifest.json"> <link rel="manifest" href="/3.0/manifest.json">
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="//hyperf.wiki/3.0/favicon.ico" /> <link rel="shortcut icon" href="/3.0/favicon.ico" />
<link rel="stylesheet" href="//unpkg.com/docsify@4/themes/vue.css"> <link rel="stylesheet" href="//unpkg.com/docsify@4/themes/vue.css">
<style> <style>
.app-name-link img { .app-name-link img {

View File

@ -3,7 +3,7 @@
"short_name": "Hyperf", "short_name": "Hyperf",
"icons": [ "icons": [
{ {
"src": "https://hyperf.wiki/3.0/logo.png", "src": "/3.0/logo.png",
"sizes": "150x150", "sizes": "150x150",
"type": "image/png" "type": "image/png"
} }