Initial dev branch commit
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
import express from 'express';
|
||||
import { Server } from 'socket.io';
|
||||
import { createServer } from 'http';
|
||||
import { Client, Notification } from 'pg';
|
||||
import { Client } from 'pg';
|
||||
import type { Notification } from 'pg';
|
||||
import dotenv from 'dotenv';
|
||||
dotenv.config();
|
||||
|
||||
@ -11,7 +12,7 @@ const httpServer = createServer(app);
|
||||
// Create new Socket.IO server
|
||||
const io = new Server(httpServer);
|
||||
|
||||
const PORT = process.env.PORT || 3030;
|
||||
const PORT = process.env.PORT ?? 3020;
|
||||
|
||||
const pgClient = new Client({
|
||||
connectionString: process.env.DATABASE_URL,
|
||||
|
Reference in New Issue
Block a user