Skip to content

Commit da910b6

Browse files
committed
Update dependencies.
And fix the consequences.
1 parent b7ce260 commit da910b6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<dependency>
2323
<groupId>co.casterlabs.commons</groupId>
2424
<artifactId>platform</artifactId>
25-
<version>1.7.0</version>
25+
<version>1.7.1</version>
2626
<scope>compile</scope>
2727
</dependency>
2828
<dependency>
2929
<groupId>co.casterlabs.commons</groupId>
3030
<artifactId>io</artifactId>
31-
<version>1.7.0</version>
31+
<version>1.7.1</version>
3232
<scope>compile</scope>
3333
</dependency>
3434

ui-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>co.casterlabs</groupId>
3131
<artifactId>Rakurai-Http-Server</artifactId>
32-
<version>2.0.3</version>
32+
<version>2.1.7</version>
3333
<scope>compile</scope>
3434
</dependency>
3535
</dependencies>

ui-server/src/main/java/dev/webview/webview_java/uiserver/UIServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public UIServer() {
7171
this.localAddress = String.format("http://%s:%d", hostname, this.port);
7272

7373
this.server = new HttpServerBuilder()
74-
.setHostname(hostname)
75-
.setPort(this.port)
74+
.withHostname(hostname)
75+
.withPort(this.port)
7676
.build(new HttpListener() {
7777
@Override
7878
public @Nullable HttpResponse serveHttpSession(@NonNull HttpSession session) {

0 commit comments

Comments
 (0)