Setup project correctly for development and release
This commit is contained in:
8
src/config.ts
Normal file
8
src/config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import dotenv from 'dotenv';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
export const config = {
|
||||
// eslint-disable-next-line n/no-process-env
|
||||
PORT: Number(process.env.PORT ?? 11434),
|
||||
};
|
||||
Reference in New Issue
Block a user