Remove legal page, add no affiliation text in footer

This commit is contained in:
timvisee 2021-01-09 18:59:45 +01:00
parent 6c3a2e53af
commit 3165086869
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
89 changed files with 13 additions and 370 deletions

View file

@ -36,11 +36,9 @@ module.exports = function(app) {
defaultSrc: ["'self'"],
connectSrc: [
"'self'",
config.base_url.replace(/^https:\/\//, 'wss://'),
],
imgSrc: [
"'self'",
config.base_url.replace(/^https:\/\//, 'wss://')
],
imgSrc: ["'self'"],
scriptSrc: [
"'self'",
function(req) {
@ -90,7 +88,6 @@ module.exports = function(app) {
});
app.get('/error', language, pages.blank);
app.get('/oauth', language, pages.blank);
app.get('/legal', language, pages.legal);
app.get('/login', language, pages.index);
app.get('/app.webmanifest', language, require('./webmanifest'));
app.get(`/download/:id${ID_REGEX}`, language, pages.download);

View file

@ -49,11 +49,6 @@ module.exports = {
);
},
legal: async function(req, res) {
const appState = await state(req);
res.send(stripEvents(routes().toString('/legal', appState)));
},
notfound: async function(req, res) {
const appState = await state(req);
res