From 55e271e7bc276adc14ff08aa240ec311565f9617 Mon Sep 17 00:00:00 2001 From: alan Date: Fri, 27 Sep 2019 09:52:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20DEC-10021=20=E4=BF=AE=E6=94=B9h2?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84=E9=BB=98=E8=AE=A4url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/constants/constant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/constants/constant.ts b/src/modules/constants/constant.ts index 58fe9c4..dc188d8 100644 --- a/src/modules/constants/constant.ts +++ b/src/modules/constants/constant.ts @@ -550,7 +550,7 @@ export const DATA_BASE_TYPES = [ hasSchema: true, kerberos: false, urls: { - 'org.h2.Driver': 'jdbc:h2://hostname:port/database', + 'org.h2.Driver': 'jdbc:h2://${ENV_HOME}/../database', 'com.fr.third.org.hsqldb.jdbcDriver': 'jdbc:hsqldb:file:[PATH_TO_DB_FILES]', 'org.sqlite.JDBC': 'jdbc:sqlite:[PATH_TO_DB_FILES]', },