more specific price seach should be working
This commit is contained in:
@@ -3,7 +3,8 @@ import { http } from '../http';
|
||||
export class PoeService {
|
||||
public static async getStash(): Promise<any> {
|
||||
const res = await http.get(
|
||||
'https://pathofexile.com/character-window/get-stash-items?league=Incursion&tabs=1&tabIndex=6&accountName=DoctorCoctor',
|
||||
'https://pathofexile.com/character-window/get-stash-items?' +
|
||||
'league=Incursion&tabs=1&tabIndex=6&accountName=DoctorCoctor',
|
||||
);
|
||||
return res.data;
|
||||
}
|
||||
@@ -11,11 +12,7 @@ export class PoeService {
|
||||
public static async priceCheck(item: any) {
|
||||
const res = await http.get(`https://poeprices.info/api?l=Incursion&i=${encodeURI(btoa(item))}`, {
|
||||
headers: {
|
||||
// Host: 'poeprices.info',
|
||||
// Connection: 'keep-alive',
|
||||
'Cache-Control': 'max-age=600',
|
||||
// Origin: 'https://poeprices.info',
|
||||
// Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
|
||||
},
|
||||
});
|
||||
return res.data;
|
||||
|
||||
Reference in New Issue
Block a user