mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
serve stylesheets directory
This commit is contained in:
@@ -20,6 +20,7 @@ app.set('port', 5000);
|
||||
|
||||
app.use('/javascript', express.static(__dirname + '/javascript')); // Routing
|
||||
app.use('/assets', express.static(__dirname + '/assets')); // Routing
|
||||
app.use('/stylesheets', express.static(__dirname + '/stylesheets')); // Routing
|
||||
app.use('/node_modules/socket.io-client', express.static(__dirname + '/node_modules/socket.io-client')); // Routing
|
||||
app.get('', function(request, response) {
|
||||
response.sendFile(__dirname + '/views/index.html');
|
||||
|
||||
Reference in New Issue
Block a user