kdlb9zs9n: Scaffold Next.js app and create the server session from a Minnect login
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// Minnect host base URLs. Defaults match the build contract (docs spec, "Hosts").
|
||||
// Override per environment in .env.local (gitignored). Never put tokens here.
|
||||
|
||||
function baseUrl(value: string | undefined, fallback: string): string {
|
||||
const v = (value ?? "").trim();
|
||||
return (v || fallback).replace(/\/+$/, "");
|
||||
}
|
||||
|
||||
export const PROFILES_BASE_URL = baseUrl(
|
||||
process.env.PROFILES_BASE_URL,
|
||||
"https://profiles.minnect.com",
|
||||
);
|
||||
|
||||
export const FEED_BASE_URL = baseUrl(
|
||||
process.env.FEED_BASE_URL,
|
||||
"https://feed.sharedservices.vt.com",
|
||||
);
|
||||
Reference in New Issue
Block a user