aboutsummaryrefslogtreecommitdiff
path: root/routes/manifest.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/manifest.js')
-rw-r--r--routes/manifest.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/routes/manifest.js b/routes/manifest.js
deleted file mode 100644
index b2ce55f..0000000
--- a/routes/manifest.js
+++ /dev/null
@@ -1,19 +0,0 @@
-'use strict'
-
-const express = require('express')
-const router = express.Router()
-const path = require('path')
-
-router.get('/', function (req, res, next) {
- console.log('got a request')
-
- const isBeta = process.env.BETA === '1'
-
- if (isBeta) {
- res.sendFile('manifest.beta.webmanifest', { root: path.join(__dirname, '../public') })
- } else {
- res.sendFile('manifest.webmanifest', { root: path.join(__dirname, '../public') })
- }
-})
-
-module.exports = router