Caddy header

main
Bob Mottram 2021-09-11 11:03:07 +01:00
parent 0234b752ce
commit 7ce82bf81a
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ example.com {
header / X-Download-Options "noopen"
header / X-Frame-Options "DENY"
header / X-Permitted-Cross-Domain-Policies "none"
header / X-Robots-Tag "noindex,nofollow,nosnippet,noarchive"
header / X-Robots-Tag "noindex"
header / X-XSS-Protection "1; mode=block"
proxy / http://localhost:7156 {

View File

@ -231,7 +231,7 @@ def parseUserFeed(signingPrivateKeyPem: str,
print('Getting user feed for ' + feedUrl)
print('User feed header ' + str(asHeader))
feedJson = getJson(signingPrivateKeyPem, session, feedUrl, asHeader, None,
False, projectVersion, httpPrefix, domain)
debug, projectVersion, httpPrefix, domain)
if not feedJson:
if debug:
print('No user feed was returned')