Skip to content

Commit d6c3725

Browse files
committed
Forgot to use the config there for tokens
1 parent 08fe22b commit d6c3725

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
services:
3-
bytebin:
3+
jet:
44
image: ghcr.io/serlithnetwork/jet
55
ports:
66
- "9420:9420"

src/main/kotlin/net/serlith/jet/service/TokenService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import java.util.concurrent.TimeUnit
1414
class TokenService {
1515

1616
private final val config = File("config")
17-
private final val tokensFile = File("tokens.yml")
17+
private final val tokensFile = File(this.config, "tokens.yml")
1818
private final val objectMapper = ObjectMapper(YAMLFactory()).registerKotlinModule()
1919

2020
private final var tokens: Set<Token> = emptySet()

0 commit comments

Comments
 (0)