Put graphql under api (#549)

This commit is contained in:
Mitchell Syer
2023-05-16 20:28:00 -04:00
committed by GitHub
parent 99e1912bfe
commit 54fc3761bf

View File

@@ -106,11 +106,13 @@ object JavalinSetup {
} }
app.routes { app.routes {
path("api/v1/") { path("api/") {
GlobalAPI.defineEndpoints() path("v1/") {
MangaAPI.defineEndpoints() GlobalAPI.defineEndpoints()
MangaAPI.defineEndpoints()
}
GraphQL.defineEndpoints()
} }
GraphQL.defineEndpoints()
} }
} }