Skip to content

Commit

Permalink
update files
Browse files Browse the repository at this point in the history
  • Loading branch information
neo773 committed Nov 6, 2023
1 parent 0b32f44 commit df2f50b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .codesandbox/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"tasks": {
"run tailcall": {
"name": "run tailcall server",
"command": "$HOME/.tailcall/bin/tc start /workspaces/sandbox/app/example.graphql",
"command": "$HOME/.tailcall/bin/tc start /workspaces/tailcall-sandbox/app/example.graphql",
"runAtStart": true,
"preview": {
"port": 3000
Expand Down
4 changes: 1 addition & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
// Sets the run context to one level up instead of the .devcontainer folder.
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile",
"mounts": [
"source=/app,target=/app,type=bind,consistency=default"
]
"mounts": ["source=/app,target=/app,type=bind,consistency=default"]
},

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
9 changes: 2 additions & 7 deletions app/example.graphql
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
schema
@server(
port: 3000
baseURL: "http://jsonplaceholder.typicode.com"
enableHttpCache: true
enableGraphiql: "/"
enableQueryValidation: false
) {
@server(port: 3000, enableGraphiql: true, enableQueryValidation: false, hostname: "0.0.0.0")
@upstream(baseURL: "http://jsonplaceholder.typicode.com", enableHttpCache: true) {
query: Query
}

Expand Down

0 comments on commit df2f50b

Please sign in to comment.