fixed backend and frontend
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import env from "dotenv";
|
|||||||
env.config();
|
env.config();
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 7001;
|
const port = 7001;
|
||||||
const rateLimit = require("express-rate-limit");
|
import rateLimit from "express-rate-limit";
|
||||||
|
|
||||||
app.use(cors());
|
app.use(cors());
|
||||||
app.use(express.urlencoded({ extended: true }));
|
app.use(express.urlencoded({ extended: true }));
|
||||||
|
|||||||
+9
-8
@@ -5,11 +5,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "7002:80"
|
- "7002:80"
|
||||||
restart: always
|
restart: always
|
||||||
# backend:
|
|
||||||
# container_name: backend
|
backend:
|
||||||
# build: ./backend
|
container_name: backend
|
||||||
# ports:
|
build: ./backend
|
||||||
# - "7001:7001"
|
ports:
|
||||||
#volumes:
|
- "7001:7001"
|
||||||
# - ./backend:/bikelane-backend
|
volumes:
|
||||||
# restart: unless-stopped
|
- ./backend:/bikelane-backend
|
||||||
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user