Skip to content

Commit

Permalink
Fix graphiql on webmvc
Browse files Browse the repository at this point in the history
  • Loading branch information
foo4u committed Sep 30, 2022
1 parent c978f1b commit 2208027
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Expand Up @@ -53,7 +53,7 @@ open class GraphiQLConfigurer(
logger.info("Configuring GraphiQL to use GraphQL endpoint at '{}'", graphqlPath)
registry
.addResourceHandler("/graphiql/**")
.addResourceLocations("classpath:/static/graphiql/")
.addResourceLocations("classpath:/graphiql/")
.setCachePeriod(3600)
.resourceChain(true)
.addResolver(PathResourceResolver())
Expand Down

0 comments on commit 2208027

Please sign in to comment.