mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix refresh bug
This misconfiguration doesn't produce a bug without the docker environment. Better to use docker also for development. Let's make it the single source of truth.
This commit is contained in:
parent
826d987fcd
commit
2fcbdcb436
@ -1,5 +1,5 @@
|
||||
export default function({ app }) {
|
||||
const backendUrl = process.BACKEND_URL || 'http://localhost:4000'
|
||||
const backendUrl = process.env.BACKEND_URL || 'http://localhost:4000'
|
||||
return {
|
||||
httpEndpoint: process.server ? backendUrl : '/api',
|
||||
httpLinkOptions: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user