aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/trivia/server.js2
-rw-r--r--src/trivia/sound-effects.html18
2 files changed, 20 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 = []
diff --git a/src/trivia/sound-effects.html b/src/trivia/sound-effects.html
new file mode 100644
index 0000000..b11ac7d
--- /dev/null
+++ b/src/trivia/sound-effects.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html lang="en">
+
+<head>
+ <title>Trivia - Sound effects</title>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <link rel="shortcut icon" href="/favicon.ico">
+ <link rel="stylesheet" type="text/css" href="/trivia/styles.css">
+</head>
+
+<body>
+ <p>
+
+ </p>
+</body>
+
+</html> \ No newline at end of file