Skip to content

Commit e54d032

Browse files
Merge pull request #1445 from rocket-admin/redis-db
fix hostname validation and hint for redis
2 parents 39a965b + a7f23b3 commit e54d032

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

frontend/src/app/components/connect-db/db-credentials-forms/redis-credentials-form/redis-credentials-form.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
data-testid="connection-hostname-input"
55
angulartics2On="change"
66
angularticsAction="Connection creds {{ connection.id ? 'edit' : 'add' }}: hostname is edited"
7-
required hostnameValidator="mongodb"
7+
required hostnameValidator
88
[readonly]="(accessLevel === 'readonly' || connection.isTestConnection) && connection.id"
99
[disabled]="submitting"
1010
[(ngModel)]="connection.host">
1111
<mat-hint>
12-
E.g. <strong><code>mongodb+srv://my-test-db.8a8grvb.mongoconnection.net</code></strong><br>
12+
E.g. <strong><code>redis-12345.c17.us-east-1-2.ec2.cloud.redislabs.com</code></strong>
13+
<br/>
1314
Connections from internal IPs (e.g. localhost) are not supported
1415
</mat-hint>
1516

0 commit comments

Comments
 (0)