Commit 5c983c82 authored by Szabolcs Gyurko's avatar Szabolcs Gyurko
Browse files

Added CORS filter, small fixes

parent 47b38689
Pipeline #346 failed with stage
in 5 minutes and 8 seconds
......@@ -6,6 +6,10 @@ lazy val `sget2` = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.12.8"
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
scalacOptions += "-target:jvm-1.8"
libraryDependencies ++= Seq(
evolutions,
ws,
......
......@@ -63,6 +63,8 @@ play.evolutions.db.default.autoApplyDowns=${?APPLYDOWNEVOLUTIONS}
play.modules.enabled += "sget2.SGet2Module"
play.filters.enabled += "play.filters.cors.CORSFilter"
play.filters.hosts {
allowed = ["."]
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment