move praisal url to env and use avanto instance

This commit is contained in:
Calli
2023-07-21 08:39:04 +03:00
parent 05196d1b64
commit dbcf3a5a4f
2 changed files with 3 additions and 3 deletions

View File

@@ -79,8 +79,7 @@ export interface EvePraisalRequest {
items: { amount: number; typeId: number }[];
}
const PRAISAL_URL =
"https://evepraisal.com/appraisal/structured.json?persist=no";
const PRAISAL_URL = process.env.NEXT_PUBLIC_PRAISAL_URL ?? "";
export const getPraisal = async (
items: { quantity: number; type_id: number }[]