yanghua commented on code in PR #2840:
URL: https://github.com/apache/incubator-kyuubi/pull/2840#discussion_r905750436
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiRestFrontendService.scala:
##########
@@ -71,8 +71,7 @@ class KyuubiRestFrontendService(override val serverable:
Serverable)
val authenticationFactory = new KyuubiHttpAuthenticationFactory(conf)
server.addHandler(authenticationFactory.httpHandlerWrapperFactory.wrapHandler(contextHandler))
- server.addStaticHandler("org/apache/kyuubi/ui/static", "/static")
- server.addRedirectHandler("/", "/static")
+ server.addStaticHandler("web", "/")
Review Comment:
I found the handler of `/openapi.json` api is wrong. It's been redirected to
`/static`. Will fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]