Skip to content

Commit

Permalink
pages: nodeinfo noop: drop Cache-Control header that gets overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jan 29, 2025
1 parent 1baaaf2 commit 7bf659b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ def nodeinfo():
}, {
# https://nodeinfo.diaspora.software/protocol.html
'Content-Type': 'application/json; profile="http://nodeinfo.diaspora.software/ns/schema/2.1#"',
'Cache-Control': f'public, max-age={int(datetime.timedelta(days=1).total_seconds())}'
}


Expand Down

0 comments on commit 7bf659b

Please sign in to comment.