commit 82fc8362418ba40f80e2864ab41b2cb89c0f3d5b
parent 6ac5152575ab4597ff968e1732a1db600314c333
Author: triesap <tyson@radroots.org>
Date: Thu, 11 Jun 2026 16:07:20 -0700
assets: use explicit geocoder database URL
- remove the app-level fallback to the retired local asset path
- rely on managed RADROOTS_WEB_GEOCODER_DB_URL for geocoder startup
- record the library defaults that point at the production static origin
- keep localhost behavior controlled by generated runtime env files
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/src/lib/utils/app/index.ts b/app/src/lib/utils/app/index.ts
@@ -177,7 +177,7 @@ export const geoc_init = async (): Promise<void> => {
geoc_init_promise = (async () => {
const geoc_ready = await geoc.connect({
wasm_path: SQL_WASM_URL,
- database_path: GEOCODER_DB_URL || "/assets/geonames.db"
+ database_path: GEOCODER_DB_URL
});
if (geoc_ready !== true) throw new Error(geoc_ready.err);
})();