Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IT2810 H21
Team 29
iWhatToWatch
Commits
e5ff38b3
Commit
e5ff38b3
authored
Nov 22, 2021
by
Dherik Jenitan Devakumar
Browse files
(
#15
) Fixed merge overwrite
parent
bb106cdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/graphql/index.ts
View file @
e5ff38b3
import
{
ApolloClient
,
InMemoryCache
}
from
"
@apollo/client
"
;
import
{
DB_URL
}
from
"
@env
"
;
//import "dotenv/config"
export
const
apolloClient
=
new
ApolloClient
({
uri
:
process
.
env
.
DB_URL
?
process
.
env
.
DB_URL
:
"
http://localhost
:4000/graphql
"
,
uri
:
"
http://it2810-29-idi.ntnu.no
:4000/graphql
"
,
cache
:
new
InMemoryCache
(),
});
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment