mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
💻 | Change base url axios
This commit is contained in:
@@ -2,9 +2,7 @@ import {NuxtOptionsModule} from "@nuxt/types/config/module";
|
|||||||
|
|
||||||
const axios = {
|
const axios = {
|
||||||
credentials: true,
|
credentials: true,
|
||||||
baseURL: process.env.NODE_ENV == 'production'
|
baseURL: 'https://api.arthurdanjou.fr'
|
||||||
? 'https://api.arthurdanjou.fr'
|
|
||||||
: 'http://localhost:5555',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const i18n = {
|
const i18n = {
|
||||||
|
|||||||
Reference in New Issue
Block a user