You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by xi...@apache.org on 2023/02/08 09:14:31 UTC

[shenyu] branch master updated: smart H2 path (#4351)

This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 34b61dcf4 smart H2 path (#4351)
34b61dcf4 is described below

commit 34b61dcf46eda4c0412c2f740663077f07c870e5
Author: 王杰 <34...@qq.com>
AuthorDate: Wed Feb 8 17:14:20 2023 +0800

    smart H2 path (#4351)
    
    Co-authored-by: xiaoyu <xi...@apache.org>
---
 shenyu-admin/src/main/resources/application-h2.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shenyu-admin/src/main/resources/application-h2.yml b/shenyu-admin/src/main/resources/application-h2.yml
index 4e4e6ac49..5dd59c487 100644
--- a/shenyu-admin/src/main/resources/application-h2.yml
+++ b/shenyu-admin/src/main/resources/application-h2.yml
@@ -21,7 +21,7 @@ shenyu:
 
 spring:
   datasource:
-    url: jdbc:h2:mem:~/shenyu;DB_CLOSE_DELAY=-1;MODE=MySQL;
+    url: jdbc:h2:mem:${HOME:${HOMEDRIVE}${HOMEPATH}}/shenyu;DB_CLOSE_DELAY=-1;MODE=MySQL;
     username: sa
     password: sa
     driver-class-name: org.h2.Driver