Nelson Chan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
server/server.js
|
|
@ -96,8 +96,8 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString(); |
|
|
|
app.get("/metrics", basicAuth, prometheusAPIMetrics()) |
|
|
|
|
|
|
|
// Universal Route Handler, must be at the end
|
|
|
|
app.get("*", function(request, response, next) { |
|
|
|
response.end(indexHTML) |
|
|
|
app.get("*", function(_request, response) { |
|
|
|
response.send(indexHTML); |
|
|
|
}); |
|
|
|
|
|
|
|
console.log("Adding socket handler") |
|
|
|