Add new deciders, move to dawn-of-war.pro

This commit is contained in:
Anibus
2025-03-16 11:26:09 +03:00
parent d2af1bc797
commit 1a8916be22
2 changed files with 170 additions and 4 deletions
+1 -1
View File
@@ -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://",""))
}
/**