mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Change extension fron .ejs to .html
This commit is contained in:
1 parent
39dcb43199
commit
5d294c3a62
6 files changed
+5
-2
No files matched your search
@@ -28,7 +28,8 @@ app.use(fileUpload());
|
||||
|
||||
// dynamic HTML generations with EJS
|
||||
app.set('views', path.join(__dirname, 'static'));
|
||||
app.set('view engine', 'ejs');
|
||||
app.set('view engine', 'html');
|
||||
app.engine('html', ejs.renderFile);
|
||||
|
||||
var routes = require("./routes.js");
|
||||
routes(app);
|
||||
|
||||
Reference in new issue
Block a user