Skip to content

Commit

Permalink
Change: Allow to load fonts from the local server
Browse files Browse the repository at this point in the history
Extend the content-security-policy to allow to load fronts from the
local server. The styling of GSA might contain new fonts that can't be
loaded otherwise.
  • Loading branch information
bjoernricks committed Apr 24, 2024
1 parent 7087fa6 commit 986c5d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gsad.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"form-action 'self'; " \
"style-src-elem 'self' 'unsafe-inline'; " \
"style-src 'self' 'unsafe-inline'; " \
"font-src 'self';" \
"img-src 'self' blob:;"

/**
Expand Down

0 comments on commit 986c5d7

Please sign in to comment.