Commit cfaf146
committed
Remove redundant Buff163 integration causing CORS errors
The buff163Integration.js was old code that:
- Tried to fetch directly from Buff163.com (causes CORS errors)
- Was redundant - multiMarketPricing.js already gets Buff prices from our API
- Caused console errors: 'Error fetching Buff163 price: TypeError: Failed to fetch'
Changes:
- Deleted src/buff163Integration.js
- Removed from manifest.json content_scripts
- Removed references in content.js
Now all market prices (Buff163, Skinport, CS.MONEY) come from our own
API endpoint: /api/price/{itemName} - no more CORS errors!1 parent 126e1c8 commit cfaf146
3 files changed
Lines changed: 2 additions & 537 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
| 314 | + | |
318 | 315 | | |
319 | 316 | | |
320 | 317 | | |
| |||
768 | 765 | | |
769 | 766 | | |
770 | 767 | | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | 768 | | |
784 | 769 | | |
785 | 770 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments