It's possible override endpoint only in browser?
OndrejIT opened this issue · 1 comments
OndrejIT commented
It's possible override default endpoint to another endpoint only in browser?
Like this function on appolo https://github.com/nuxt-community/apollo-module#advanced-configuration
// required
httpEndpoint: 'http://localhost:4000',
// override HTTP endpoint in browser only
browserHttpEndpoint: '/graphql',
It's helpfull when nuxt server and backend server running on same server.
Nuxt and backend communicating internal, client via internet.
OndrejIT commented
Runtime Config is the way..