From 12f1a6183f630c85682f06fc380c151db4759f93 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 9 Nov 2020 12:18:35 +0100 Subject: [PATCH] rename skydb:// to skyns:// --- packages/handshake-api/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);