mirror of https://gitlab.com/bashrc2/epicyon
Caddy header
parent
0234b752ce
commit
7ce82bf81a
|
@ -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 {
|
||||
|
|
2
posts.py
2
posts.py
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue