diff --git a/packages/handshake-api/src/index.js b/packages/handshake-api/src/index.js index ac6de6ec..f530b644 100644 --- a/packages/handshake-api/src/index.js +++ b/packages/handshake-api/src/index.js @@ -22,7 +22,7 @@ const cache = new NodeCache({ stdTTL: 300 }); // cache for 5 minutes // Match both `sia://HASH` and `HASH` links. const startsWithSkylinkRegExp = /^(sia:\/\/)?[a-zA-Z0-9_-]{46}/; -const registryEntryRegExp = /^skydb:\/\/(?[a-zA-Z0-9%]+)\/(?[a-zA-Z0-9%]+)$/; +const registryEntryRegExp = /^skyns:\/\/(?[a-zA-Z0-9%]+)\/(?[a-zA-Z0-9%]+)$/; const getDomainRecords = async (name) => { if (cache.has(name)) return cache.get(name);