mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +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 }) {
|
export default function({ app }) {
|
||||||
const backendUrl = process.BACKEND_URL || 'http://localhost:4000'
|
const backendUrl = process.env.BACKEND_URL || 'http://localhost:4000'
|
||||||
return {
|
return {
|
||||||
httpEndpoint: process.server ? backendUrl : '/api',
|
httpEndpoint: process.server ? backendUrl : '/api',
|
||||||
httpLinkOptions: {
|
httpLinkOptions: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user