Skip to content

Commit 0406523

Browse files
committed
fix:h2 bug
1 parent 02fc0c1 commit 0406523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat2db-client/src/components/ConnectionEdit/config/dataSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ export const dataSourceFormConfigs: IConnectionConfig[] = [
618618
},
619619
],
620620
onChange: (data: IConnectionConfig) => {
621-
data.baseInfo.pattern = /jdbc:h2:tcp:(.*)?/;
621+
data.baseInfo.pattern = /jdbc:h2:(.*)?/;
622622
data.baseInfo.template = 'jdbc:h2:{file}';
623623
return data
624624
}

0 commit comments

Comments
 (0)