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 = {
|
||||
credentials: true,
|
||||
baseURL: process.env.NODE_ENV == 'production'
|
||||
? 'https://api.arthurdanjou.fr'
|
||||
: 'http://localhost:5555',
|
||||
baseURL: 'https://api.arthurdanjou.fr'
|
||||
}
|
||||
|
||||
const i18n = {
|
||||
|
||||
Reference in New Issue
Block a user