diff --git a/pages/rer2.html b/pages/rer2.html
index e79b59b..00fb161 100644
--- a/pages/rer2.html
+++ b/pages/rer2.html
@@ -32,7 +32,7 @@
@@ -61,7 +61,7 @@
Данные обновляются каждый час |
Ссылка на страницу эвента
diff --git a/server/src/modules/rev2.cr b/server/src/modules/rev2.cr
index 1ffe7e5..800e9f5 100644
--- a/server/src/modules/rev2.cr
+++ b/server/src/modules/rev2.cr
@@ -17,7 +17,7 @@ options "/api/v1.0/rev2_monsters" do |env|
end
get "/api/v1.0/rev2_monsters" do |env|
- url = "https://game.capcom.com/residentevil/en/onlineevent-4_1108.html"
+ url = "https://game.capcom.com/residentevil/en/onlineevent-4_1141.html"
cache_time = File.read("./cache/rev2/time.txt").to_i
@@ -42,6 +42,9 @@ get "/api/v1.0/rev2_monsters" do |env|
end
end
+ puts "aaa"
+ puts time_remaining
+
enemies.each_with_index do |ememy, i|
hp = /\d+%/.match(ememy)
enemies[i] = enemies[i].gsub(/\d+%/, " \\0")