瀏覽代碼

Manually fixed hq api url

Thomas Knott 2 周之前
父節點
當前提交
0b4b80c68e
共有 5 個文件被更改,包括 4049 次插入17 次删除
  1. 1 1
      roi.py
  2. 1012 4
      www/roi_ai1.json
  3. 1012 4
      www/roi_ci1.json
  4. 1012 4
      www/roi_ic1.json
  5. 1012 4
      www/roi_nc1.json

+ 1 - 1
roi.py

@@ -14,7 +14,7 @@ def main() -> None:
 	
 	# EXTREME DETAIL: We execute the "Open Source Heist" here. We pull the static JSON 
 	# directly from PRUNplanner's GitHub repository. 
-	hq_levels_raw = cache.get('https://raw.githubusercontent.com/prunplanner/prunplanner/main/frontend/src/features/hq_upgrade_calculator/hq_levels.json')
+	hq_levels_raw = cache.get('https://raw.githubusercontent.com/PRUNplanner/frontend/ec2ab897624121186f7de8e6c2e28ebf292f4432/src/features/hq_upgrade_calculator/hq_levels.json')
 	
 	for cx in ['AI1', 'CI1', 'IC1', 'NC1']:
 		profits = calc_for_cx(cx, recipes, buildings, materials, raw_prices, hq_levels_raw)

File diff suppressed because it is too large
+ 1012 - 4
www/roi_ai1.json


File diff suppressed because it is too large
+ 1012 - 4
www/roi_ci1.json


File diff suppressed because it is too large
+ 1012 - 4
www/roi_ic1.json


File diff suppressed because it is too large
+ 1012 - 4
www/roi_nc1.json


Some files were not shown because too many files changed in this diff