Skip to content

Commit

Permalink
#275: Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
aswallace committed Nov 18, 2022
1 parent 9778769 commit 6807486
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import store from './store'
import router from './router'
import apollo from './modules/gql/apolloClient'

// Temporarily commenting out for linting/testing purposes
// const BASE = window.location.origin
// const uri = `${BASE}/api/graphql`

const apolloProvider = new VueApollo({
defaultClient: apollo
})
Expand Down
2 changes: 0 additions & 2 deletions app/src/modules/gql/apolloClient.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { ApolloClient, ApolloLink, InMemoryCache, HttpLink } from 'apollo-boost'

// NOTE: Putting BASE and uri here instead of in main still works,
// and removes need for passing as variable
const BASE = window.location.origin
const uri = `${BASE}/api/graphql`
const httpLink = new HttpLink({ uri })
Expand Down

0 comments on commit 6807486

Please sign in to comment.