UX: improve lighthouse score, see #1696

This commit is contained in:
Pieter Vander Vennet 2023-11-09 15:53:47 +01:00
parent 556f6d0b93
commit 4ec74f24b9
3 changed files with 5 additions and 3 deletions

View file

@ -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"/>

View file

@ -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",

View file

@ -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"/>