changed docker configs
This commit is contained in:
@@ -1,18 +1,23 @@
|
||||
// static variables and imports
|
||||
import express from "express";
|
||||
|
||||
// temprary disabled import
|
||||
/*
|
||||
import {
|
||||
createUser,
|
||||
deleteUser,
|
||||
getAllUsers,
|
||||
loginUser,
|
||||
updateUser,
|
||||
} from "../user-mgmt_backend/database.js";
|
||||
} from "./user-mgmt_backend/database.js";
|
||||
*/
|
||||
|
||||
import dotenv from "dotenv";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
const app = express();
|
||||
dotenv.config();
|
||||
const port = 40001;
|
||||
const port = 4001;
|
||||
|
||||
app.use(express.json());
|
||||
app.use(express.static("public"));
|
||||
|
Reference in New Issue
Block a user