Skip to content

Commit

Permalink
add redirect to /ui/
Browse files Browse the repository at this point in the history
  • Loading branch information
klandeck committed Apr 5, 2022
1 parent b024bee commit d527064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions deployment-sample/mifune-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Components
### [Keycloak](http://localhost:8888)
- <span style="color:red">DO NOT USE THE EXPORTED REALM WITHOUT CHANGE THE KEYS</span>
- We start Keycloak simply with an H2 Database (for your own happiness please don't use it for production)
- We initialize Keycloak with an exported realm (mifune) with client for front and backend
- Admin login is setup over env variables (admin/admin)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,10 @@ public void init(@Observes Router router) {

var requestHandler =
vertxStaticContent.map(StaticHandler::create).orElseGet(StaticHandler::create);
router.get("/").handler(rc -> rc.redirect("/ui/"));
router.get("/ui/env.json").handler(r -> r.end(env()));
router.get("/ui/keycloak.json").handler(r -> r.end(keycloak()));

router.route("/ui/*").handler(requestHandler);

router
.route("/ui/*")
.handler(
Expand Down

0 comments on commit d527064

Please sign in to comment.