aboutsummaryrefslogtreecommitdiff
path: root/src/trivia/server.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-29 21:10:31 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-29 21:10:31 -0500
commitba26da4ac06807cde20ca2ee52064f66829f0348 (patch)
treefb8a2e45693ce7b60defffefa1ae83b31248ea28 /src/trivia/server.js
parent408f0913d976f8c756c57180163236b42a45bff0 (diff)
Begin trivia sound effects
Diffstat (limited to 'src/trivia/server.js')
-rw-r--r--src/trivia/server.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trivia/server.js b/src/trivia/server.js
index 19d4fcd..910f836 100644
--- a/src/trivia/server.js
+++ b/src/trivia/server.js
@@ -7,6 +7,8 @@ function setUpRoutes(server, models, jwtFunctions, database) {
server.get('/trivia', (req, res) => res.sendFile(__dirname + "/index.html"))
server.get('/trivia/main.js', (req, res) => res.sendFile(__dirname + "/static/main.js"))
server.get('/trivia/styles.css', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
+ server.get('/trivia/sound-effects', (req, res) => res.sendFile(__dirname + "/sound-effects.html"))
+ server.get('/trivia/', (req, res) => res.sendFile(__dirname + "/static/styles.css"))
// a list of games
var games = []