Decider admin access to deciders by steam id

This commit is contained in:
anibus
2026-10-30 20:26:43 +03:00
parent 0212f8b6d0
commit f0ec7bbedb
8 changed files with 1896 additions and 165 deletions
+7
View File
@@ -14,6 +14,13 @@ admin {
decidersFile = "conf/deciders.conf"
}
# Каталог с картинками карт: из него читается галерея в админке и в него
# сохраняются загруженные картинки. Путь может быть абсолютным или
# относительным (от рабочего каталога приложения).
maps {
imagesDir = "app/assets/images/maps"
}
deciders{
classic{
maps = [["2p_battle_marshes"],
+1604
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -21,5 +21,9 @@ DELETE /decider/admin/deciders/:key controllers.AdminController.deciderDel
GET /decider/:name controllers.HomeController.index(name)
# Картинки карт из каталога maps.imagesDir.
# ВАЖНО: маршрут должен идти ДО /assets/*file, иначе его перехватит Assets.
GET /assets/images/maps/:file controllers.MapImageController.image(file)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(path="/public", file)