From a5a94d8d1ec9d4bfba5f18696ac1c98255ef9091 Mon Sep 17 00:00:00 2001 From: Raul Andrade Date: Thu, 24 Feb 2022 23:06:24 -0300 Subject: [PATCH] fix: api url --- src/services/network/http/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/network/http/http.ts b/src/services/network/http/http.ts index 42f8986..2b82fd5 100644 --- a/src/services/network/http/http.ts +++ b/src/services/network/http/http.ts @@ -2,7 +2,7 @@ import axios, { AxiosPromise, AxiosRequestConfig } from 'axios' import { NextPageContext } from 'next' import { Cookies } from 'utils' -const baseURL = process.env.BACKEND_API || 'http://localhost:3000/api' +const baseURL = process.env.BACKEND_API || '/api' type CustomHeader = string | number | boolean