-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.config.ts
More file actions
18 lines (14 loc) · 695 Bytes
/
Copy pathenv.config.ts
File metadata and controls
18 lines (14 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export type Environment = "development" | "production";
export type EnvironmentConfig<T> = Record<Environment, T>;
export const apiUrls: EnvironmentConfig<string> = {
development: "http://localhost:8787",
production: "https://englitune-worker.silvioprog.dev"
} as const;
export const audioUrls: EnvironmentConfig<string> = {
development: "https://englitune-audio.silvioprog.dev", // We don't have an audio server for development
production: "https://englitune-audio.silvioprog.dev"
} as const;
export const cloudflareInsightsUrls: EnvironmentConfig<string> = {
development: "https://static.cloudflareinsights.com",
production: "https://static.cloudflareinsights.com"
} as const;