Version-handling

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-30 13:10:55 +01:00
parent 7a20115e28
commit e8a6284f02
6 changed files with 75 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ app.use("/api/", updateApi);
app.use("/api/", retrieveApi);
app.use("/service-worker.js", function(req, res) {
res.sendFile(path.join(__dirname, "public/service-worker.js"));
res.sendFile(path.join(__dirname, "public/sw/serviceWorker.js"));
});
app.listen(30030);