与前端匹配的后端代码
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
ktor:
|
||||
application:
|
||||
modules:
|
||||
- ink.snowflake.server.ApplicationKt.module
|
||||
deployment:
|
||||
port: 8089
|
||||
connectionGroupSize: 20
|
||||
workerGroupSize: 50
|
||||
callGroupSize: 100
|
||||
shutdownGracePeriod: 20000
|
||||
shutdownTimeout: 30000
|
||||
security:
|
||||
jwt:
|
||||
audience: "snowflake-ink"
|
||||
domain: "https://snowflake.ink/"
|
||||
realm: "Snowflake Server"
|
||||
secret: "secret_jwt"
|
||||
database:
|
||||
url: "jdbc:postgresql://localhost:5432/ktor"
|
||||
driver: "org.postgresql.Driver"
|
||||
user: "postgres"
|
||||
password: "123456"
|
||||
|
||||
mail:
|
||||
smtp:
|
||||
host: "smtp.exmail.qq.com"
|
||||
port: 465
|
||||
user: "account@snowflake.ink"
|
||||
password: "7ZYPc75xCViqSrCg"
|
||||
|
||||
Reference in New Issue
Block a user