Initial commit
This commit is contained in:
7
lib/cloud.ts
Normal file
7
lib/cloud.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// Server-only config for the Frontend Cloud proxy routes.
|
||||
// The API key lives here (read from a non-public env var) so it is never
|
||||
// shipped to the browser bundle.
|
||||
|
||||
export const CLOUD_BASE = "https://cloud.frontend.co";
|
||||
|
||||
export const FRONTEND_API_KEY = process.env.FRONTEND_API_KEY ?? "";
|
||||
Reference in New Issue
Block a user