Skip to content

Commit

Permalink
- Router configuration fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mawaisayub committed Sep 27, 2024
1 parent 628a886 commit 096ca27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {

group = "io.github.areebgillani"
version = "1.0.0"
version = "1.0.1"
val vertxVersion = "4.5.8"
publishing {
publications {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void start() {
config = BoostApplication.getInstance().getConfig();
router = Router.router(vertx);
booster = BoostApplication.getInstance().getBooster();
initDefaultRoutingConfig();
registerRoutes();
startHttpServer();
if (BoostApplication.printRoutes) {
Expand All @@ -48,7 +49,6 @@ public void start() {

public void startHttpServer(){
JsonObject httpConfig = config.getJsonObject("server").getJsonObject("http");
initDefaultRoutingConfig();
HttpServer httpServer = vertx.createHttpServer(getHttpOptions()).requestHandler(router);
if(httpConfig.containsKey("SSL"))
httpServer.updateSSLOptions(new SSLOptions(httpConfig.getJsonObject("SSL")));
Expand Down

0 comments on commit 096ca27

Please sign in to comment.