1
0

cambios en webroot

This commit is contained in:
Jose
2025-03-12 02:32:26 +01:00
parent 7d592812de
commit df591d90db
10 changed files with 1 additions and 779 deletions

View File

@@ -13,7 +13,7 @@ public class HttpServerVerticle extends AbstractVerticle {
Constants.LOGGER.info("🟢 Iniciando HttpServerVerticle...");
Router router = Router.router(vertx);
router.route("/*").handler(StaticHandler.create("webroot").setDefaultContentEncoding("UTF-8"));
router.route("/*").handler(StaticHandler.create(Constants.BASE_DIR + "webroot").setDefaultContentEncoding("UTF-8"));
router.route("/dashboard/*").handler(ctx -> {
ctx.reroute("/index.html");