Skip to content

Commit 240fc8b

Browse files
committed
Fuck csp
1 parent 908a468 commit 240fc8b

File tree

1 file changed

+1
-1
lines changed
  • dashboard/src/main/kotlin/com/dunctebot/dashboard

1 file changed

+1
-1
lines changed

dashboard/src/main/kotlin/com/dunctebot/dashboard/WebServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class WebServer {
4848
} else {
4949
config.staticFiles.add("/public", Location.CLASSPATH)
5050
config.vue.optimizeDependencies = false
51-
config.vue.enableCspAndNonces = true
51+
config.vue.enableCspAndNonces = false // sucks to not have nonces, but CSP sucks.
5252
}
5353
// 191231307290771456
5454
// 191245668617158656

0 commit comments

Comments
 (0)