forked from UKSOURCE/cms.hailearning.edu.vn
Merge branch 'main' of https://gits.techvanguard.vn/UKSOURCE/cms.hailearning.edu.vn into fea/bao-03022026-Admin-Management-Service
This commit is contained in:
@@ -42,8 +42,6 @@ app.use(
|
||||
},
|
||||
express.static(path.join(__dirname, "assets")),
|
||||
);
|
||||
app.use("/img", express.static(path.join(process.cwd(), "public/img")));
|
||||
// Serve static files from public directory (uploads, etc.)
|
||||
app.use(
|
||||
"/uploads",
|
||||
(req, res, next) => {
|
||||
@@ -55,6 +53,11 @@ app.use(
|
||||
express.static(path.join(__dirname, "public", "uploads")),
|
||||
);
|
||||
|
||||
// Serve other public files
|
||||
app.use(
|
||||
express.static(path.join(__dirname, "public")),
|
||||
);
|
||||
|
||||
// Serve other public files
|
||||
app.use(express.static(path.join(__dirname, "public")));
|
||||
// Session configuration
|
||||
|
||||
Reference in New Issue
Block a user