diff --git a/.gitignore b/.gitignore index 0e6c3a3b..cfef0ef9 100644 --- a/.gitignore +++ b/.gitignore @@ -57,5 +57,6 @@ hs_err_pid* neutrino-proxy-vuepress/deploy.sh .NEUTRINO_PROXY_CLIENT_ID logs +data **/cert/** neutrino-proxy-server/src/main/resources/static/** diff --git a/neutrino-proxy-server/src/main/resources/app.yml b/neutrino-proxy-server/src/main/resources/app.yml index d92bd55e..7719937b 100644 --- a/neutrino-proxy-server/src/main/resources/app.yml +++ b/neutrino-proxy-server/src/main/resources/app.yml @@ -77,7 +77,7 @@ neutrino: # 数据库类型,目前支持h2、mysql、mariadb type: ${DB_TYPE:h2} # 数据库连接URL - url: ${DB_URL:jdbc:h2:file:~/.neutrino-proxy/data/db;MODE=MySQL;AUTO_SERVER=TRUE} + url: ${DB_URL:jdbc:h2:file:./data/db;MODE=MySQL;AUTO_SERVER=TRUE} # 数据库用户名 username: ${DB_USER:} # 数据库密码