Browse Source

server: Disable CSRFFilter

As there are no authenticated routes, CSRF protection can be disabled.
master
Alexis Hernandez 6 years ago
parent
commit
4f6ab522d4
  1. 2
      server/conf/application.conf

2
server/conf/application.conf

@ -16,6 +16,8 @@ play.http {
play.filters.enabled += "play.filters.cors.CORSFilter"
play.filters.enabled += "com.xsn.explorer.play.LoggingFilter"
play.filters.disabled += "play.filters.csrf.CSRFFilter"
play.filters.cors {
allowedOrigins = [
"http://xsnexplorer.io", "https://xsnexplorer.io",

Loading…
Cancel
Save