move praisal url to env and use avanto instance
This commit is contained in:
@@ -2,3 +2,4 @@
|
|||||||
EVE_SSO_CLIENT_ID=Client ID
|
EVE_SSO_CLIENT_ID=Client ID
|
||||||
EVE_SSO_SECRET=Secret Key
|
EVE_SSO_SECRET=Secret Key
|
||||||
EVE_SSO_CALLBACK_URL=Callback URL (This should be the domain you are hosting at or if run locally it should be http://localhost:3000)
|
EVE_SSO_CALLBACK_URL=Callback URL (This should be the domain you are hosting at or if run locally it should be http://localhost:3000)
|
||||||
|
NEXT_PUBLIC_PRAISAL_URLPRAISAL_URL=https://praisal.avanto.tk/appraisal/structured.json?persist=no
|
@@ -79,8 +79,7 @@ export interface EvePraisalRequest {
|
|||||||
items: { amount: number; typeId: number }[];
|
items: { amount: number; typeId: number }[];
|
||||||
}
|
}
|
||||||
|
|
||||||
const PRAISAL_URL =
|
const PRAISAL_URL = process.env.NEXT_PUBLIC_PRAISAL_URL ?? "";
|
||||||
"https://evepraisal.com/appraisal/structured.json?persist=no";
|
|
||||||
|
|
||||||
export const getPraisal = async (
|
export const getPraisal = async (
|
||||||
items: { quantity: number; type_id: number }[]
|
items: { quantity: number; type_id: number }[]
|
||||||
|
Reference in New Issue
Block a user