env.ts 689 Bytes
// const debug = import.meta.env.MODE !== 'production';

// export default debug;
export const debug = import.meta.env.MODE !== 'production';

export const ossConfig = {
    accessKeyId: import.meta.env.VITE_OSS_ACCESS_KEY as string,
    accessKeySecret: import.meta.env.VITE_OSS_ACCESS_SECRET as string,
    bucket: import.meta.env.VITE_OSS_BUCKET,
    region: import.meta.env.VITE_OSS_REGION,
    host: import.meta.env.VITE_OSS_HOST,
    endpoint: import.meta.env.VITE_OSS_ENDPOINT,
};

export const apiHost = import.meta.env.VITE_API_HOST;

export const showLoginAccount = import.meta.env.VITE_SHOW_LOGIN_ACCOUNT;

export const isProduction = import.meta.env.VITE_ENV === 'production';