Last active
March 7, 2019 19:23
-
-
Save LazyFatArrow/03ba92dbf2e9e0549ad6d0b8c03de27d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... code | |
// Config | |
const defaultOptions = { | |
// You can use `https` for secure connection (recommended in production) | |
httpEndpoint: process.env.VUE_APP_GRAPHQL_HTTP_URL, | |
// You can use `wss` for secure connection (recommended in production) | |
// Use `null` to disable subscriptions | |
wsEndpoint: process.env.VUE_APP_GRAPHQL_WS_URL, | |
// ... code | |
} | |
// ... code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment