Browse Source

file pre loader fix 2

master
gsd 6 days ago
parent
commit
8821234bc3
  1. 10
      src/main/java/app/controllers/other/ExternalVIPController.java
  2. 2
      src/main/java/app/updates/PreviewUpdater.java

10
src/main/java/app/controllers/other/ExternalVIPController.java

@ -45,11 +45,11 @@ public class ExternalVIPController {
@PostConstruct
public void setupPrices() {
prices = new ArrayList<>();
prices.add(new VipPrice("1 Месяц", 200, "1 ключ", fileController.getUrl("vip,VIP_1_MOUNTH"), "month", true, true, true, 10));
prices.add(new VipPrice("1 Неделя", 100, "40 рефов", fileController.getUrl("vip,VIP_7_DAYS"), "week", true, true, true, 10));
prices.add(new VipPrice("1 День", 35, "10 рефов", fileController.getUrl("vip,VIP_1_DAY"), "day", true, true, true, 10));
prices.add(new VipPrice("1 День", 0, "бесплатно", fileController.getUrl("vip,freevip"), "free", true, true, true, 10));
prices.add(new VipPrice("Промокод", 0, "бесплатно", fileController.getUrl("vip,promocode"), "promocode", true, true, true, 10));
prices.add(new VipPrice("1 Месяц", 200, "1 ключ", "api/file/6243cb6b-2117-4deb-b1d5-ea266a16bf05", "month", true, true, true, 10));
prices.add(new VipPrice("1 Неделя", 100, "40 рефов", "api/file/d0ff82ca-a944-4cdb-b0bc-a0e96ed49de9", "week", true, true, true, 10));
prices.add(new VipPrice("1 День", 35, "10 рефов", "api/file/b8636ebf-c4eb-4355-b2ba-d8d3647d2896", "day", true, true, true, 10));
prices.add(new VipPrice("1 День", 0, "бесплатно", "api/file/794b9bd5-0f43-451f-a566-1ede210e3e10", "free", true, true, true, 10));
prices.add(new VipPrice("Промокод", 0, "бесплатно", "api/file/5dfcdc65-750d-4e35-968d-78d50574d761", "promocode", true, true, true, 10));
}
@PostMapping

2
src/main/java/app/updates/PreviewUpdater.java

@ -23,7 +23,7 @@ public class PreviewUpdater extends BaseUpdater{
private String preview = "https://%s/site_content/images/preview/%s.%s";
//@Value("${backend.updates.a2s}")
private boolean update = true;
private boolean update = false;
private HashMap<String, String> preview_cache;
private FileController fileController;

Loading…
Cancel
Save