mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-29 00:17:48 +01:00
set default env to production
This commit is contained in:
@@ -27,7 +27,7 @@ const test: IConfig = {
|
||||
};
|
||||
|
||||
const envs: { [key: string]: IConfig } = { production, development, test };
|
||||
const env = process.env.NODE_ENV;
|
||||
const env = process.env.NODE_ENV || "production";
|
||||
const currentConfig = envs[env];
|
||||
|
||||
export { currentConfig as config };
|
||||
|
||||
Reference in New Issue
Block a user