diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml
index 421da1c..0a787fa 100644
--- a/.gitea/workflows/ci.yml
+++ b/.gitea/workflows/ci.yml
@@ -47,5 +47,5 @@ jobs:
- name: Push to dokku
uses: dokku/github-action@master
with:
- git_remote_url: "ssh://dokku@10.0.50.175:22/paste-backend"
+ git_remote_url: "ssh://dokku@10.0.50.175:22/ssu-backend"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c3d2e5f..245c4d4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,7 +80,7 @@
com.google.code.gson
gson
- 2.8.8
+ 2.9.1
diff --git a/src/main/java/cc/fascinated/backend/service/AccountService.java b/src/main/java/cc/fascinated/backend/service/AccountService.java
index 5209880..3afc29b 100644
--- a/src/main/java/cc/fascinated/backend/service/AccountService.java
+++ b/src/main/java/cc/fascinated/backend/service/AccountService.java
@@ -35,7 +35,6 @@ public class AccountService {
this.accountRepository = accountRepository;
this.scoreSaberService = scoreSaberService;
- // todo: Schedule the account update task.
Timer.scheduleRepeating(() -> {
List accounts = accountRepository.findAll();
log.info("Updating accounts.");
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
new file mode 100644
index 0000000..d117055
--- /dev/null
+++ b/src/main/resources/application.yml
@@ -0,0 +1,23 @@
+server:
+ address: 0.0.0.0
+ port: 3005
+ servlet:
+ context-path: /
+
+# Spring Configuration
+spring:
+ # Don't include null properties in JSON
+ jackson:
+ default-property-inclusion: non_null
+ data:
+ # MongoDB - This is used for general data storage
+ mongodb:
+ uri: mongodb://localhost:27017
+ database: ssu-prod
+
+# Set the embedded MongoDB version
+de:
+ flapdoodle:
+ mongodb:
+ embedded:
+ version: 7.0.8
\ No newline at end of file