Rebranding app and naming
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* FarmaFinder external pharmacy sources (OpenStreetMap, Google Places, open-data URLs).
|
||||
* FarmaClic external pharmacy sources (OpenStreetMap, Google Places, open-data URLs).
|
||||
* Used by the backend admin import; OSM does not require n8n.
|
||||
*/
|
||||
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ export async function fetchPharmaciesFromOpenDataUrl(openDataUrl) {
|
||||
const res = await fetch(u, {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
'User-Agent': 'FarmaFinder/1.0 (open-data pharmacy import)',
|
||||
'User-Agent': 'FarmaClic/1.0 (open-data pharmacy import)',
|
||||
},
|
||||
});
|
||||
const text = await res.text();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Parse a subset of the OSM opening_hours format into FarmaFinder's internal
|
||||
* Parse a subset of the OSM opening_hours format into FarmaClic's internal
|
||||
* shape: { mon: ["09:00", "21:00"], ..., sun: null }.
|
||||
*
|
||||
* Supports the patterns commonly seen on amenity=pharmacy nodes:
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ async function fetchOverpass(endpoint, body) {
|
||||
headers: {
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
Accept: 'application/json',
|
||||
'User-Agent': 'FarmaFinder/1.0 (OSM pharmacy import; local admin)',
|
||||
'User-Agent': 'FarmaClic/1.0 (OSM pharmacy import; local admin)',
|
||||
},
|
||||
body,
|
||||
});
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "farma-finder-api-sources",
|
||||
"name": "farma-clic-api-sources",
|
||||
"private": true,
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user