Skip to content

Commit

Permalink
revert config validation
Browse files Browse the repository at this point in the history
  • Loading branch information
freddieptf committed Nov 26, 2024
1 parent 2a5a813 commit cb43cc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
require('dotenv').config();
import { Config } from './config';
import build from './server';
import { env } from 'process';
const {
INTERFACE
} = process.env;

const port: number = env.PORT ? parseInt(env.PORT) : 3500;
Config.assertValid();

(async () => {
const server = build({
Expand Down

0 comments on commit cb43cc4

Please sign in to comment.