Updating default api #5

Merged
Mathis merged 1 commits from dev into prod 2026-01-14 19:21:26 +01:00
Showing only changes of commit 7c3f4050c5 - Show all commits

View File

@@ -1,7 +1,7 @@
import axios from "axios"; import axios from "axios";
const api = axios.create({ 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, withCredentials: true,
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",