Skip to content

Commit

Permalink
update bytes.zone to embed the goatcounter counter
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 23, 2020
1 parent c556ce8 commit 7797f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitea/configuration.nix
Expand Up @@ -205,7 +205,7 @@ in {

extraConfig = ''
add_header Strict-Transport-Security max-age=15768000 always;
add_header Content-Security-Policy "default-src 'none'; child-src https:; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:" always;
add_header Content-Security-Policy "default-src 'none'; child-src https:; script-src 'self' https://stats.bytes.zone; style-src 'self' 'unsafe-inline'; img-src 'self' data: https://stats.bytes.zone/count" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
Expand Down
2 changes: 1 addition & 1 deletion nix/sources.json
Expand Up @@ -8,7 +8,7 @@
"bytes.zone": {
"branch": "main",
"repo": "ssh://git@git.bytes.zone:2222/bytes.zone/bytes.zone.git",
"rev": "bce167d2a8ad19273776b50f40ad33fe3f30fabd",
"rev": "155ab9a72fdd8999321a6edd18334b97971203c7",
"type": "git"
},
"comma": {
Expand Down

0 comments on commit 7797f02

Please sign in to comment.