Skip to content

Commit

Permalink
upgrade vertx 4.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite committed Dec 10, 2022
1 parent 8e47bde commit 0614345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.zyclonite.nassh</groupId>
<artifactId>nassh-relay</artifactId>
<version>1.1.25</version>
<version>1.1.26</version>

<organization>
<name>zyclonite networx</name>
Expand All @@ -19,7 +19,7 @@
</developers>

<properties>
<vertx.version>4.3.5</vertx.version>
<vertx.version>4.3.6</vertx.version>
<log4j.version>2.19.0</log4j.version>
<vertx.main>${project.groupId}.MainVerticle</vertx.main>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/net/zyclonite/nassh/MainVerticle.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public void start(final Promise<Void> startPromise) {
server = vertx.createHttpServer(options);
final Router router = Router.router(vertx);
router.route().handler(CorsHandler
.create(".*")
.create()
.addRelativeOrigin(".*")
.allowCredentials(true)
);
router.get("/cookie").handler(new CookieHandler(config().getJsonObject("application").copy().put("auth", config().getJsonObject("google-sso"))));
Expand Down

0 comments on commit 0614345

Please sign in to comment.