You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
536 B
23 lines
536 B
3 years ago
|
ktor {
|
||
|
#开发模式
|
||
|
development = true
|
||
|
deployment {
|
||
|
port = 8080
|
||
|
port = ${?PORT}
|
||
|
mysql = {
|
||
|
username = root
|
||
|
password = 123456
|
||
|
jdbcUrl = "jdbc:mysql://localhost:3306/csams?serverTimezone=Asia/Shanghai"
|
||
|
driverClassName = "com.mysql.cj.jdbc.Driver"
|
||
|
}
|
||
|
filePath = static/image
|
||
|
#免重启自动重载classes目录
|
||
|
watch = [ classes ]
|
||
|
}
|
||
|
application {
|
||
|
modules = [
|
||
|
ServerKt.module,
|
||
|
]
|
||
|
}
|
||
|
}
|