From 07d0e9d27fe3acbd35bcd9c922eaf0955005be0d Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sat, 2 Sep 2023 14:16:40 +0200 Subject: [PATCH] Add reference to env variables --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ff3e61eeb..fc0e5fe90 100644 --- a/package.json +++ b/package.json @@ -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:////land.html` as redirect URIs. You can add `http://127.0.0.1:1234/land.html` too for local development." + "Use `https:////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" } -} +} \ No newline at end of file