diff --git a/server/src/bin/server.rs b/server/src/bin/server.rs index 4bce328..6ee4d1b 100644 --- a/server/src/bin/server.rs +++ b/server/src/bin/server.rs @@ -164,7 +164,7 @@ async fn original( #[rocket::get("/")] fn graphiql() -> content::RawHtml { - content::RawHtml(GraphiQLSource::build().endpoint("/graphql").finish()) + content::RawHtml(GraphiQLSource::build().endpoint("/api/graphql").finish()) } #[rocket::get("/graphql?")] diff --git a/web/graphql/update_schema.sh b/web/graphql/update_schema.sh index f931637..4a4e51b 100755 --- a/web/graphql/update_schema.sh +++ b/web/graphql/update_schema.sh @@ -1,4 +1,4 @@ DEV_HOST=localhost DEV_PORT=9345 -graphql-client introspect-schema http://${DEV_HOST:?}:${DEV_PORT:?}/graphql --output schema.json +graphql-client introspect-schema http://${DEV_HOST:?}:${DEV_PORT:?}/api/graphql --output schema.json git diff schema.json