mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-27 10:20:40 +01:00
Working
This commit is contained in:
@@ -34,4 +34,11 @@ const buildDir = 'build'
|
||||
|
||||
const ssr = true
|
||||
|
||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr }
|
||||
const proxy = {
|
||||
'/api': {
|
||||
target: "https://api.arthurdanjou.fr",
|
||||
pathRewrite: { "^/api": "" }
|
||||
}
|
||||
}
|
||||
|
||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr, proxy }
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import {NuxtOptionsModule} from "@nuxt/types/config/module";
|
||||
|
||||
const axios = {
|
||||
baseURL: 'https://api.arthurdanjou.fr',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': '*/*'
|
||||
},
|
||||
proxy: true,
|
||||
credentials: true
|
||||
}
|
||||
|
||||
const i18n = {
|
||||
@@ -86,10 +83,7 @@ const env = {
|
||||
}
|
||||
|
||||
const sentry = {
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
config: {
|
||||
|
||||
}
|
||||
dsn: process.env.SENTRY_DSN
|
||||
}
|
||||
|
||||
export default [
|
||||
|
||||
Reference in New Issue
Block a user