forked from MapComplete/MapComplete
UX: improve lighthouse score, see #1696
This commit is contained in:
parent
556f6d0b93
commit
4ec74f24b9
3 changed files with 5 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://gc.zgo.at/; img-src *; connect-src 'self' https://www.openstreetmap.org/ https://api.openstreetmap.org/;">
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://gc.zgo.at/; img-src *; connect-src 'self' https://www.openstreetmap.org/ https://api.openstreetmap.org/ https://pietervdvn.goatcounter.com/;">
|
||||
<link href="./css/mobile.css" rel="stylesheet"/>
|
||||
<link href="./css/openinghourstable.css" rel="stylesheet"/>
|
||||
<link href="./css/tagrendering.css" rel="stylesheet"/>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"short_name": "MapComplete",
|
||||
"start_url": "index.html",
|
||||
"lang": "en",
|
||||
"theme_color":"white",
|
||||
"display": "standalone",
|
||||
"background_color": "#fff",
|
||||
"description": "A thematic map viewer and editor based on OpenStreetMap",
|
||||
|
@ -68,4 +69,4 @@
|
|||
"map",
|
||||
"navigation"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<!-- We disable 'user-scalable'. As we are working with a map, the user might zoom in using a popup, close the popup and _not_ be able to zoom out again. -->
|
||||
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
|
||||
<!-- CSP -->
|
||||
<link href="./css/mobile.css" rel="stylesheet"/>
|
||||
|
|
Loading…
Reference in a new issue