質問編集履歴

1

文法の修正

2021/01/21 07:19

投稿

toshihirokato
toshihirokato

スコア20

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  { rel: 'icon',
28
28
 
29
- type: 'image/x-icon', href: 'images/favicon.ico' }
29
+ type: 'image/x-icon', href: '/favicon.ico' }
30
30
 
31
31
  ]
32
32
 
@@ -52,6 +52,36 @@
52
52
 
53
53
  handlers:
54
54
 
55
+ - url: /favicon.ico
56
+
57
+ static_files: static/favicon.ico
58
+
59
+ upload: static/favicon.ico
60
+
61
+
62
+
63
+ - url: /sw.js
64
+
65
+ static_files: static/sw.js
66
+
67
+ upload: static/sw.js
68
+
69
+
70
+
71
+ - url: /sitemap.xml
72
+
73
+ static_files: static/sitemap.xml
74
+
75
+ upload: static/sitemap.xml
76
+
77
+
78
+
79
+ - url: /assets
80
+
81
+ static_dir: assets
82
+
83
+
84
+
55
85
  - url: /_nuxt
56
86
 
57
87
  static_dir: .nuxt/dist/client
@@ -70,33 +100,11 @@
70
100
 
71
101
 
72
102
 
73
- - url: /sw.js
74
-
75
- static_files: static/sw.js
76
-
77
- upload: static/sw.js
78
-
79
-
80
-
81
103
  - url: /.*
82
104
 
83
105
  script: auto
84
106
 
85
107
  secure: always
86
-
87
-
88
-
89
- - url: /images/favicon.ico
90
-
91
- static_files: static/images/favicon.ico
92
-
93
- upload: static/images/favicon.ico
94
-
95
-
96
-
97
- - url: /assets
98
-
99
- static_dir: assets
100
108
 
101
109
 
102
110
 
@@ -110,4 +118,4 @@
110
118
 
111
119
 
112
120
 
113
- favicon.ico はstatic/imagesディレクトリ下に配置しました。
121
+ favicon.ico はapp/static/ディレクトリ下に配置しました。