mirror of
https://github.com/spikecodes/libreddit.git
synced 2026-01-31 00:44:13 +01:00
Fix subreddit sorting and media
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user