9 Commits

Author SHA1 Message Date
Martin Raifer
b2b3009a64 .env oauth2 config: drop client secret; use URL if API_URL is empty 2024-07-05 16:15:47 +02:00
Martin Raifer
96e6dc124f Show message about how to support OSM after a successful save, closes #10054
for example in form of a donation

this can be disabled by setting an env variable (`ID_SHOW_DONATION_MESSAGE=false`)

the icon is from https://uxwing.com/charity-donation-hand-love-icon/
2024-02-24 12:48:35 +01:00
Martin Raifer
64ed8df9e9 use api url from env variables, if specified 2023-11-09 15:12:45 +01:00
Martin Raifer
c4d1390270 use api.osm.org url for OSM API calls
see https://github.com/openstreetmap/operations/issues/951
2023-10-10 16:03:10 +02:00
Martin Raifer
a15f6ff338 also lint mjs files and config directory 2023-03-27 19:45:47 +02:00
Martin Raifer
45c746ef05 also make other CDNs and services configurable via env vars 2023-02-25 18:21:11 +01:00
Martin Raifer
050c164a60 make OSM API connection details configurable via env vars 2023-02-25 18:05:31 +01:00
Martin Raifer
243c7fdba3 allow to specify presets cdn via env variable or dotenv file 2023-02-25 12:09:19 +01:00
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00