Browse Source

feat:统一数据库路径

master
白凤吉 3 weeks ago
parent
commit
76927ac828
  1. 6
      src/main/resources/application.yml

6
src/main/resources/application.yml

@ -9,7 +9,7 @@ spring:
config: config:
import: "classpath:factory-reset.yml" import: "classpath:factory-reset.yml"
datasource: datasource:
url: jdbc:sqlite:../db/matrix-spray.db
url: jdbc:sqlite:db/app.db
driver-class-name: org.sqlite.JDBC driver-class-name: org.sqlite.JDBC
sql: sql:
init: init:
@ -40,10 +40,10 @@ jwt:
tcp: tcp:
enable: true # 是否开启 TCP 连接 enable: true # 是否开启 TCP 连接
server-enable: true # 是否开启 TCP 连接 server-enable: true # 是否开启 TCP 连接
host: 127.0.0.1
# host: 127.0.0.1
# host: 192.168.1.106 # host: 192.168.1.106
# host: 192.168.1.140 # host: 192.168.1.140
# host: 192.168.100.168
host: 192.168.100.168
port: 9080 port: 9080
reconnect: 5000 # 断线重连间隔(单位:毫秒) reconnect: 5000 # 断线重连间隔(单位:毫秒)
timeout: 10000 # 连接超时时间(单位:毫秒) timeout: 10000 # 连接超时时间(单位:毫秒)

Loading…
Cancel
Save