Testing failer uncomment issue sorted API-Docker updated based on the Failed testcase
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
|
||||
import express from "express"
|
||||
import express from "express";
|
||||
import { Response, Request } from "express";
|
||||
import http from "http";
|
||||
import dotenv from "dotenv"; // Import dotenv
|
||||
import dotenv from "dotenv";
|
||||
|
||||
dotenv.config();
|
||||
|
||||
@@ -12,8 +11,8 @@ const app = express();
|
||||
const PORT = process.env.SOCKET_PORT;
|
||||
const server = http.createServer(app);
|
||||
|
||||
app.get('/', (req: Request, res: Response) => {
|
||||
res.send('Hello, I am Major-Dwinzo RealTime!');
|
||||
app.get("/", (req: Request, res: Response) => {
|
||||
res.send("Hello, I am Major-Dwinzo RealTime!");
|
||||
});
|
||||
|
||||
initSocketServer(server);
|
||||
|
||||
Reference in New Issue
Block a user