Rebranding app and naming
This commit is contained in:
+3
-3
@@ -30,7 +30,7 @@ const PORT = process.env.PORT || 3001;
|
||||
// span_id to every log line so they can be correlated in Grafana.
|
||||
const logger = pino({
|
||||
level: process.env.LOG_LEVEL || 'info',
|
||||
base: { service: process.env.OTEL_SERVICE_NAME || 'farmafinder-backend' },
|
||||
base: { service: process.env.OTEL_SERVICE_NAME || 'farmaclic-backend' },
|
||||
});
|
||||
|
||||
// Trust the reverse proxy in front of us (Docker/Traefik/nginx/Cloudflare) so
|
||||
@@ -61,7 +61,7 @@ if (PG_URL) {
|
||||
}
|
||||
|
||||
const sessionConfig = {
|
||||
secret: process.env.SESSION_SECRET || 'farma-finder-secret-key-change-in-production',
|
||||
secret: process.env.SESSION_SECRET || 'farma-clic-secret-key-change-in-production',
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
cookie: {
|
||||
@@ -703,7 +703,7 @@ async function nominatimSearchFirstHit(originalQuery) {
|
||||
Accept: 'application/json',
|
||||
'Accept-Language': 'es,en',
|
||||
'User-Agent':
|
||||
'FarmaFinder/1.0 (pharmacy admin; geocoding; https://github.com/)',
|
||||
'FarmaClic/1.0 (pharmacy admin; geocoding; https://github.com/)',
|
||||
},
|
||||
});
|
||||
const text = await nomRes.text();
|
||||
|
||||
Reference in New Issue
Block a user