Skip to content

Commit

Permalink
comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Dec 3, 2024
1 parent 2890454 commit 035f6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/graphql/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fn graphql_filter(
GraphiQLSource::build()
.subscription_endpoint("/ws")
// we patch the generated source to use the current URL instead of the origin
// for hsoted services like SLOT
// for hosted services like SLOT
.finish().replace("new URL(endpoint, window.location.origin);", "new URL(window.location.href.trimEnd('/') + endpoint)"),

Check warning on line 54 in crates/torii/graphql/src/server.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/graphql/src/server.rs#L51-L54

Added lines #L51 - L54 were not covered by tests
)
});
Expand Down

0 comments on commit 035f6a2

Please sign in to comment.