fixed tag rendering url and static files url
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user