beginning migration to EJS for development of the app main page

This commit is contained in:
booploops 2021-12-06 16:46:11 -08:00
parent b8d5dec9e6
commit a26754d819
7 changed files with 787 additions and 3 deletions

View file

@ -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
})

View file

@ -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}`);