Add new deciders, move to dawn-of-war.pro
This commit is contained in:
@@ -102,7 +102,7 @@ class HomeController @Inject()(cc: ControllerComponents) extends AbstractControl
|
||||
* Returns true if the value of the Origin header contains an acceptable value.
|
||||
*/
|
||||
def originMatches(origin: String, remoteAddress: String): Boolean = {
|
||||
origin.contains("89.108.83.108") || origin.contains("crosspick.ru") || origin.contains("localhost") || origin.contains("localhost:9000") || origin.contains("localhost:19001")
|
||||
config.getStringList("play.filters.hosts.allowed").contains(origin.replace("http://","").replace("https://",""))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user