Skip to content

Commit

Permalink
wip: fix connect-src
Browse files Browse the repository at this point in the history
  • Loading branch information
GZTimeWalker committed May 22, 2024
1 parent e0fd9a0 commit 0995229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GZCTF/Extensions/ConfigurationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static class ConfigurationExtensions
};

const string CspTemplate = "default-src 'strict-dynamic' 'nonce-{0}' 'unsafe-inline' http: https:; " +
"style-src 'self' 'unsafe-inline'; img-src * 'self' data:; " +
"style-src 'self' 'unsafe-inline'; img-src * 'self' data:; connect-src 'self'; " +
"font-src * 'self' data:; object-src 'none'; frame-src * https:; base-uri 'none';";

public static void AddEntityConfiguration(this IConfigurationBuilder builder,
Expand Down

0 comments on commit 0995229

Please sign in to comment.