Remove legal page, add no affiliation text in footer
This commit is contained in:
parent
6c3a2e53af
commit
3165086869
89 changed files with 13 additions and 370 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue