ui phase 9
This commit is contained in:
@@ -9,10 +9,18 @@ export const PUBLIC_URL = process.env.NEXT_PUBLIC_PUBLIC_URL; // Variant 2: .env
|
||||
|
||||
export const API_URL = envRequired(process.env.NEXT_PUBLIC_API_URL);
|
||||
|
||||
/**
|
||||
* The Neshan **web** key (client-embeddable maps/search), separate from the server's
|
||||
* `NeshanGeocoder` server key (refinement phase 8). Optional — `AddressMapPicker` falls back to
|
||||
* the bounded-canvas grid stand-in when unset, so dev/CI/jsdom keep working without it.
|
||||
*/
|
||||
export const NESHAN_WEB_KEY = process.env.NEXT_PUBLIC_NESHAN_KEY || undefined;
|
||||
|
||||
IS_DEBUG &&
|
||||
console.log('@/config', {
|
||||
IS_DEBUG,
|
||||
IS_PRODUCTION,
|
||||
PUBLIC_URL,
|
||||
API_URL,
|
||||
NESHAN_WEB_KEY: NESHAN_WEB_KEY ? '(set)' : undefined,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user