mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
New webapp folder
This commit is contained in:
parent
6a11fe0e5a
commit
ad49ae2806
@ -35,15 +35,15 @@ module.exports = function (program) {
|
||||
mstream.use( '/public', express.static(fe.join(__dirname, program.userinterface) ));
|
||||
// Serve the webapp
|
||||
mstream.get('/', function (req, res) {
|
||||
res.sendFile( fe.join('public', 'mstream.html'), { root: __dirname });
|
||||
res.sendFile( fe.join(program.userinterface, 'mstream.html'), { root: __dirname });
|
||||
});
|
||||
// Serve Shared Page
|
||||
mstream.all('/shared/playlist/*', function (req, res) {
|
||||
res.sendFile( fe.join('public', 'shared.html'), { root: __dirname });
|
||||
res.sendFile( fe.join(program.userinterface, 'shared.html'), { root: __dirname });
|
||||
});
|
||||
// Serve Jukebox Page
|
||||
mstream.all('/remote', function (req, res) {
|
||||
res.sendFile( fe.join('public', 'remote.html'), { root: __dirname });
|
||||
res.sendFile( fe.join(program.userinterface, 'remote.html'), { root: __dirname });
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
1
webapp2/mstream.html
Normal file
1
webapp2/mstream.html
Normal file
@ -0,0 +1 @@
|
||||
<div>New Webapp Goes Here</div>
|
||||
Loading…
Reference in New Issue
Block a user