2024-09-09 18:48:07 +08:00
|
|
|
export const env: {
|
2024-12-30 08:26:40 +08:00
|
|
|
APP_NAME: string;
|
|
|
|
SERVER_IP: string;
|
|
|
|
VERSION: string;
|
2025-02-21 16:10:14 +08:00
|
|
|
FILE_PORT: string;
|
2025-01-27 22:43:31 +08:00
|
|
|
SERVER_PORT: string;
|
2024-09-09 18:48:07 +08:00
|
|
|
} = {
|
2024-12-30 08:26:40 +08:00
|
|
|
APP_NAME: import.meta.env.PROD
|
|
|
|
? (window as any).env.VITE_APP_APP_NAME
|
|
|
|
: import.meta.env.VITE_APP_APP_NAME,
|
|
|
|
SERVER_IP: import.meta.env.PROD
|
|
|
|
? (window as any).env.VITE_APP_SERVER_IP
|
|
|
|
: import.meta.env.VITE_APP_SERVER_IP,
|
2025-02-21 16:10:14 +08:00
|
|
|
FILE_PORT: import.meta.env.PROD
|
|
|
|
? (window as any).env.VITE_APP_FILE_PORT
|
|
|
|
: import.meta.env.VITE_APP_FILE_PORT,
|
2025-01-27 22:43:31 +08:00
|
|
|
SERVER_PORT: import.meta.env.PROD
|
|
|
|
? (window as any).env.VITE_APP_SERVER_PORT
|
|
|
|
: import.meta.env.VITE_APP_SERVER_PORT,
|
2024-12-30 08:26:40 +08:00
|
|
|
VERSION: import.meta.env.PROD
|
|
|
|
? (window as any).env.VITE_APP_VERSION
|
|
|
|
: import.meta.env.VITE_APP_VERSION,
|
2024-09-09 18:48:07 +08:00
|
|
|
};
|