Updated GraphQL

This commit is contained in:
2019-05-10 18:17:33 +09:00
parent a42c5be666
commit aa2873ac3a
4 changed files with 5 additions and 5 deletions

View File

@ -61,7 +61,7 @@ func configure(app *aero.Application) *aero.Application {
auth.Install(app)
// GraphQL
app.Post("/api", graphql.Handler(arn.DB))
app.Post("/graphql", graphql.Handler(arn.DB))
// Close the database node on shutdown
app.OnEnd(arn.Node.Close)