Skip to content

Commit

Permalink
fix: api url
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Andrade committed Feb 25, 2022
1 parent ed95597 commit a5a94d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/network/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit a5a94d8

@vercel
Copy link

@vercel vercel bot commented on a5a94d8 Feb 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.