This commit is contained in:
Luiz H. R. Silva 2024-06-28 14:03:35 -03:00
parent a8e9f47e7b
commit 5011034f75
20 changed files with 67 additions and 49 deletions

View file

@ -31,4 +31,11 @@ export const z_validar_colunna_base_dados = {
lista_texto: z.array(z.string()).nullable(),
lista_numero: z.array(z.number()).nullable(),
};
export const baseUrlPilao = (emDesenvolvimento) => emDesenvolvimento ? "http://127.0.0.1:5080" : "https://carro-de-boi.idz.one";
export const urlPilao = (emDesenvolvimento) => ({
api: (emDesenvolvimento
? "http://127.0.0.1:5080"
: "https://carro-de-boi.idz.one") + PREFIXO_PILAO,
site: (emDesenvolvimento
? "http://127.0.0.1:5081"
: "https://carro-de-boi.idz.one") + PREFIXO_PILAO,
});