mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +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
+1
-1
@@ -3,7 +3,7 @@
|
||||
"factorioDirectory": "factorio",
|
||||
|
||||
"__comment": "IP players should connect to to join your servers, should be portforwarded and stuff",
|
||||
"publicIP": "192.168.10.1",
|
||||
"publicIP": "localhost",
|
||||
|
||||
"__comment": "IP the master web server runs at, can be ignored on the master system",
|
||||
"masterIP": "localhost",
|
||||
|
||||
@@ -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);
|
||||
|
||||
File renamed without changes.
@@ -1,6 +1,8 @@
|
||||
<!doctype HTML>
|
||||
<head>
|
||||
<%- include("head.html") %>
|
||||
<script src="https://code.jquery.com/jquery.js"></script>
|
||||
<script src="lib/terminal.js"></script>
|
||||
<script src="nodeDetails.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="nodeDetails.css">
|
||||
</head>
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user