Fix subreddit sorting and media

This commit is contained in:
spikecodes 2021-01-30 21:46:35 -08:00
parent 1653d4fb4c
commit bfcc4c985d
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ async fn main() -> std::io::Result<()> {
.header("X-Frame-Options", "DENY")
.header(
"Content-Security-Policy",
"default-src 'none'; style-src 'self' 'unsafe-inline'; base-uri 'none'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none';",
"default-src 'none'; media-src 'self'; style-src 'self' 'unsafe-inline'; base-uri 'none'; img-src 'self' data:; form-action 'self'; frame-ancestors 'none';",
),
)
// Default service in case no routes match