add api headermenu and crud management

This commit is contained in:
2026-02-05 00:01:58 +07:00
parent befe6b30aa
commit f25f6b9156
29 changed files with 2058 additions and 634 deletions

View File

@@ -44,6 +44,9 @@ app.use(
express.static(path.join(__dirname, "assets")),
);
// Serve public folder at root (for /js, /img, etc.)
app.use(express.static(path.join(__dirname, "public")));
// Serve uploads folder
app.use(
"/uploads",