Skip to content
Snippets Groups Projects
Unverified Commit de5d9934 authored by Florian Raith's avatar Florian Raith Committed by GitHub
Browse files

Fix env bug (#11)

parent 3403d57e
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,9 @@ import { MikroORM, UseRequestContext } from '@mikro-orm/core';
import { Server, Socket } from 'socket.io';
import { ChannelService } from './channel.service';
import { Channel } from './channel';
import * as process from 'process';
import * as dotenv from 'dotenv';
dotenv.config();
const WEB_SOCKET_OPTIONS =
process.env.NODE_ENV === 'production'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment