Skip to content

Commit 843e287

Browse files
committed
Update dependencies.
Also removed SSL config because it didn't make sense here.
1 parent 0543047 commit 843e287

File tree

5 files changed

+7
-72
lines changed

5 files changed

+7
-72
lines changed

server/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,20 @@
132132
<dependency>
133133
<groupId>org.xerial</groupId>
134134
<artifactId>sqlite-jdbc</artifactId>
135-
<version>3.44.0.0</version>
135+
<version>3.48.0.0</version>
136136
<scope>compile</scope>
137137
</dependency>
138138

139139
<dependency>
140140
<groupId>co.casterlabs</groupId>
141141
<artifactId>Rakurai-Http-Server</artifactId>
142-
<version>2.0.3</version>
142+
<version>2.1.8</version>
143143
<scope>compile</scope>
144144
</dependency>
145145
<dependency>
146146
<groupId>co.casterlabs</groupId>
147147
<artifactId>Rson</artifactId>
148-
<version>1.17.9</version>
148+
<version>1.18.0</version>
149149
<scope>compile</scope>
150150
</dependency>
151151

server/src/main/java/co/casterlabs/dbohttp/Bootstrap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private static void reload() throws IOException {
9999

100100
// Start the daemon if necessary.
101101
if (DBOHTTP.daemon == null) {
102-
DBOHTTP.daemon = new Daemon(config.port, config.ssl);
102+
DBOHTTP.daemon = new Daemon(config.port);
103103
DBOHTTP.daemon.open();
104104
} else {
105105
if (DBOHTTP.config.port != config.port) {

server/src/main/java/co/casterlabs/dbohttp/config/Config.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
public class Config {
1111
public boolean debug = false;
1212
public int port = 10243;
13-
public @Nullable SSLConfig ssl = null;
1413

1514
public DatabaseConfig database = new DatabaseConfig();
1615

server/src/main/java/co/casterlabs/dbohttp/config/SSLConfig.java

Lines changed: 0 additions & 59 deletions
This file was deleted.

server/src/main/java/co/casterlabs/dbohttp/daemon/Daemon.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import com.auth0.jwt.exceptions.JWTVerificationException;
1010

1111
import co.casterlabs.dbohttp.DBOHTTP;
12-
import co.casterlabs.dbohttp.config.SSLConfig;
1312
import co.casterlabs.dbohttp.database.QueryException;
1413
import co.casterlabs.dbohttp.database.QueryResult;
1514
import co.casterlabs.rakurai.json.Rson;
@@ -36,14 +35,10 @@ public class Daemon implements Closeable, HttpListener {
3635

3736
public final HttpServer server;
3837

39-
public Daemon(int port, @Nullable SSLConfig ssl) {
38+
public Daemon(int port) {
4039
HttpServerBuilder builder = new HttpServerBuilder()
41-
.setBehindProxy(true)
42-
.setPort(port);
43-
44-
if (ssl != null) {
45-
builder.setSsl(ssl.toRHS());
46-
}
40+
.withBehindProxy(true)
41+
.withPort(port);
4742

4843
this.server = builder.build(this);
4944
}

0 commit comments

Comments
 (0)