mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-24 03:57:42 +00:00
cleanup
This commit is contained in:
parent
46bd20f718
commit
763de37e9e
1 changed files with 0 additions and 4 deletions
|
|
@ -8,7 +8,6 @@ interface Config {
|
|||
TMDB_API_KEY: string;
|
||||
CORS_PROXY_URL: string;
|
||||
NORMAL_ROUTER: boolean;
|
||||
TRAKT_CLIENT_ID: string;
|
||||
}
|
||||
|
||||
export interface RuntimeConfig {
|
||||
|
|
@ -19,7 +18,6 @@ export interface RuntimeConfig {
|
|||
TMDB_API_KEY: string;
|
||||
NORMAL_ROUTER: boolean;
|
||||
PROXY_URLS: string[];
|
||||
TRAKT_CLIENT_ID: string;
|
||||
}
|
||||
|
||||
const env: Record<keyof Config, undefined | string> = {
|
||||
|
|
@ -30,7 +28,6 @@ const env: Record<keyof Config, undefined | string> = {
|
|||
DISCORD_LINK: undefined,
|
||||
CORS_PROXY_URL: import.meta.env.VITE_CORS_PROXY_URL,
|
||||
NORMAL_ROUTER: import.meta.env.VITE_NORMAL_ROUTER,
|
||||
TRAKT_CLIENT_ID: import.meta.env.VITE_TRAKT_CLIENT_ID,
|
||||
};
|
||||
|
||||
const alerts = [] as string[];
|
||||
|
|
@ -65,6 +62,5 @@ export function conf(): RuntimeConfig {
|
|||
.split(",")
|
||||
.map((v) => v.trim()),
|
||||
NORMAL_ROUTER: getKey("NORMAL_ROUTER", "false") === "true",
|
||||
TRAKT_CLIENT_ID: getKey("TRAKT_CLIENT_ID"),
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue