mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
Added advanced branding
This commit is contained in:
parent
29fa4fe3bd
commit
7bf83d65b9
8 changed files with 50 additions and 12 deletions
|
|
@ -3,7 +3,7 @@ const pkg = require('./package.json');
|
|||
|
||||
const contentSecurityPolicy = `
|
||||
default-src 'self';
|
||||
img-src *;
|
||||
img-src * 'self' data:;
|
||||
script-src 'self' 'unsafe-eval';
|
||||
style-src 'self' 'unsafe-inline';
|
||||
connect-src 'self' api.umami.is;
|
||||
|
|
@ -52,6 +52,10 @@ module.exports = {
|
|||
|
||||
return config;
|
||||
},
|
||||
images: {
|
||||
dangerouslyAllowSVG: true,
|
||||
domains: [new URL(process.env.NEXT_PUBLIC_CUSTOM_LOGO_URL).hostname],
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue