diff --git a/back/app.js b/back/app.js index 365c42b..acbde88 100644 --- a/back/app.js +++ b/back/app.js @@ -14,7 +14,7 @@ app.use(cors()); app.use(express.urlencoded({ extended: true })); -app.use(express.json({ limit: "50mb" })); +app.use(express.json()); app.use(bodyParser.json()); app.use(function (req, res, next) { @@ -36,7 +36,7 @@ app.use("/gallery", require("./routes/gallery")); app.use("/data", require("./routes/data")); app.listen(process.env.PORT, () => { - console.log("Server is running at http://localhost:3000"); + console.log("Server is running at http://localhost:" + process.env.PORT); }); module.exports = app; diff --git a/front/.gitignore b/front/.gitignore index f7138b5..d9be50d 100644 --- a/front/.gitignore +++ b/front/.gitignore @@ -24,4 +24,8 @@ dist-ssr *.sw? .env -.DS_Store \ No newline at end of file +.DS_Store + +dist + +.vite \ No newline at end of file