mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Added missing axios configuration
This commit is contained in:
parent
7a383c88f1
commit
bf73b7ca84
@ -1,4 +1,4 @@
|
||||
export default function({ app }) {
|
||||
export default ({ app }) => {
|
||||
const backendUrl = process.env.BACKEND_URL || 'http://localhost:4000'
|
||||
return {
|
||||
httpEndpoint: process.server ? backendUrl : '/api',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user