Jelajahi Sumber

Manually fixed hq api url

Thomas Knott 2 minggu lalu
induk
melakukan
33f314b3a1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      roi.py

+ 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)