Skip to content

Commit

Permalink
fix: add missing /graphql to the url in the frontend (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
EehMauro authored Nov 25, 2024
1 parent bb57425 commit 036ce20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type AppPropsWithLayout = AppProps & {
}

const client = new ApolloClient({
uri: process.env.API_URL,
uri: `${process.env.API_URL}/graphql`,
cache: new InMemoryCache(),
});

Expand Down
2 changes: 1 addition & 1 deletion godot-visualizer/scripts/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func _ready():
if OS.is_userfs_persistent():
var stored_api_url = FileAccess.open("user://api_url", FileAccess.READ).get_as_text()
if stored_api_url.length() > 0:
api_url = stored_api_url
api_url = stored_api_url + "/graphql"
var stored_shipyard_policy_id = FileAccess.open("user://shipyard_policy_id", FileAccess.READ).get_as_text()
if stored_shipyard_policy_id.length() > 0:
shipyard_policy_id = stored_shipyard_policy_id
Expand Down

0 comments on commit 036ce20

Please sign in to comment.