kdlb9zs9n: Scaffold Next.js app and create the server session from a Minnect login

This commit is contained in:
2026-10-19 13:19:20 -06:00
parent 20c0d5da6c
commit 6e4cc3494b
16 changed files with 7658 additions and 0 deletions
+17
View File
@@ -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",
);