Skip to content

Commit ad037fe

Browse files
committed
remove quotes from regex
1 parent 00ee20c commit ad037fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/lib/ddns_resolver/ddns_resolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const utils = require('../utils');
44

55
const ddnsResolver = {
66
/** Pattern to match any valid domain/subdomain */
7-
ddnsRegex: /'^((?!-)[A-Za-z\d-]{1,63}(?<!-)\.)+[A-Za-z]{2,6}$'/,
7+
ddnsRegex: /^((?!-)[A-Za-z\d-]{1,63}(?<!-)\.)+[A-Za-z]{2,6}$/,
88

99
/**
1010
* Resolves the given address to its IP

0 commit comments

Comments
 (0)