Add reference to env variables

This commit is contained in:
Robin van der Linde 2023-09-02 14:16:40 +02:00
parent 6717fbdb91
commit 07d0e9d27f
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -13,7 +13,8 @@
"`oauth_credentials` are the OAuth-2 credentials for the production-OSM server and the test-server.",
"Are you deploying your own instance? Register your application too.",
"See https://wiki.openstreetmap.org/wiki/OAuth#Registering_your_application_as_OAuth_2.0_consumer for instructions",
"Use `https://<your domain name>/<path to mapcomplete>/land.html` as redirect URIs. You can add `http://127.0.0.1:1234/land.html` too for local development."
"Use `https://<your domain name>/<path to mapcomplete>/land.html` as redirect URIs. You can add `http://127.0.0.1:1234/land.html` too for local development.",
"Alternatively, you can override the `osm` credentials using the environment variables `VITE_OSM_OAUTH_CLIENT_ID` and `VITE_OSM_OAUTH_SECRET`"
],
"oauth_credentials": {
"osm_pietervdvn": {
@ -186,4 +187,4 @@
"typescript": "^4.7.4",
"vite": "^4.0.5"
}
}
}