fixed tag rendering url and static files url

This commit is contained in:
2026-05-30 20:51:19 +01:00
parent f11b94527d
commit b253fac1c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ catch (error) {
const app = express();
app.use(express.urlencoded({ extended: true }));
app.use(express.json());
app.use(express.static(config.root_path));
app.use(config.site_path, express.static(config.root_path));
// set the view engine to ejs
app.set('view engine', 'ejs');
app.set('views', '../views')