Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design2
/
2015104215
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
장재혁
2021-06-08 06:01:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b4be1c051646b245a49821563ab0c5d091403223
b4be1c05
1 parent
6131b99e
Update apollo.ts
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project/packages/web/lib/apollo.ts
project/packages/web/lib/apollo.ts
View file @
b4be1c0
...
...
@@ -11,7 +11,7 @@ function createApolloClient() {
return
new
ApolloClient
({
ssrMode
:
typeof
window
===
"undefined"
,
link
:
new
HttpLink
({
uri
:
"http://
localhost
:5000/graphql"
,
// Server URL (must be absolute)
uri
:
"http://
backend
:5000/graphql"
,
// Server URL (must be absolute)
credentials
:
"same-origin"
,
// Additional fetch() options like `credentials` or `headers`
}),
cache
:
new
InMemoryCache
({
...
...
Please
register
or
login
to post a comment