Merge pull request 'Updating default api' (#5) from dev into prod
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import axios from "axios";
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000",
|
||||
baseURL: process.env.NEXT_PUBLIC_API_URL || "https://api.memegoat.fr",
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user