E-Mail-Adressen aus Footer und User-Agent entfernt, vonRemote-Ordner ignoriert
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,3 +6,6 @@ log/
|
||||
*.log
|
||||
.env
|
||||
**/.env
|
||||
|
||||
# Produktionsstand vom Server, nur Referenz (siehe UEBERGABE.md)
|
||||
noisesensors/vonRemote/
|
||||
|
||||
@@ -26,7 +26,6 @@ html
|
||||
footer
|
||||
#author
|
||||
#mailadr
|
||||
a(href="mailto:rexfue@gmail.com") mailto:rexfue@gmail.com
|
||||
#versn #{t('Version')}: #{version} #{t('from')} #{date}
|
||||
|
||||
script(src="https://unpkg.com/leaflet@1.9.3/dist/leaflet.js"
|
||||
|
||||
@@ -8,7 +8,7 @@ const NOMINATIM_URL = `https://nominatim.openstreetmap.org/reverse?lat=${'xx'}&l
|
||||
const NOMINATIM_CITY_URL = `https://nominatim.openstreetmap.org/?q="${'xx'}"&format=json`
|
||||
// Nominatim verlangt laut Nutzungsbedingungen einen eigenen User-Agent und
|
||||
// beantwortet den Default von axios ('axios/1.x') mit 403.
|
||||
const NOMINATIM_UA = 'laermsensor-stack (rxf@gmx.de)'
|
||||
const NOMINATIM_UA = 'laermsensor-stack'
|
||||
|
||||
export const getCityCoords = async (params) => {
|
||||
let ret = {coords: [], city: params.city, err: null}
|
||||
|
||||
Reference in New Issue
Block a user