- server config outsourced
- test integrated
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Grundkonfiguration für Ktor in YAML
|
||||
|
||||
ktor:
|
||||
deployment:
|
||||
# Der Port, auf dem der Server lauschen soll
|
||||
port: 8080
|
||||
# port: ${PORT:8080} # Alternative: Nutzt Env-Variable PORT, sonst 8080
|
||||
# Optional für Entwicklung: Server bei Änderungen neu laden
|
||||
# watch:
|
||||
# - classes
|
||||
# - resources
|
||||
|
||||
application:
|
||||
# Hier wird Ktor gesagt, welche Funktion die Konfiguration enthält
|
||||
# PASSE DEN PFAD AN, falls deine Application.kt oder module() anders heißt/liegt!
|
||||
modules:
|
||||
- at.mocode.ApplicationKt.module
|
||||
# Wenn Application.kt direkt unter at.mocode liegt:
|
||||
# - at.mocode.ApplicationKt.module
|
||||
Reference in New Issue
Block a user