beginning migration to EJS for development of the app main page
This commit is contained in:
parent
b8d5dec9e6
commit
a26754d819
7 changed files with 787 additions and 3 deletions
|
@ -20,7 +20,7 @@ const SplashScreen = {
|
|||
}
|
||||
})
|
||||
this.win.show()
|
||||
this.win.loadFile('./resources/splash/index.html')
|
||||
this.win.loadFile('./resources/splash/index_old.html')
|
||||
this.win.on("closed", () => {
|
||||
this.win = null
|
||||
})
|
||||
|
|
|
@ -310,7 +310,7 @@ const wsapi = {
|
|||
const webRemotePath = path.join(__dirname, '../web-remote');
|
||||
webapp.use(express.static(webRemotePath));
|
||||
webapp.get('/', function (req, res) {
|
||||
res.sendFile(path.join(webRemotePath, 'index.html'));
|
||||
res.sendFile(path.join(webRemotePath, 'index_old.html'));
|
||||
});
|
||||
webapp.listen(webRemotePort, function () {
|
||||
console.log(`Web Remote listening on port ${webRemotePort}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue