We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48bc1e commit 3e402cdCopy full SHA for 3e402cd
src/graphql.rs
@@ -68,6 +68,9 @@ pub async fn serve_graphql(db: &Path, opts: ServeOptions) {
68
.data(opts.policy.map(PolicyCheck::new))
69
.finish();
70
let app = Router::new()
71
+ // status check endpoint allows external processes to monitor status of server without
72
+ // making graphql queries
73
+ .route("/status", get(|| async {}))
74
.route("/graphql", post(graphql_handler))
75
.route("/graphiql", get(graphiql))
76
.layer(Extension(schema));
0 commit comments