Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Added comments

Steven Teya31ada85bc2b
diff --git a/components/app/modals/add-edit-link-modal/index.tsx b/components/app/modals/add-edit-link-modal/index.tsx
index e5e944faa0..4429c5f535 100644
--- a/components/app/modals/add-edit-link-modal/index.tsx
+++ b/components/app/modals/add-edit-link-modal/index.tsx
@@ -283,6 +283,7 @@ function AddEditLinkModal({
placeholder="https://github.com/steven-tey/dub"
value={url}
onChange={(e) => {
+ setUrlError(false);
setData({ ...data, url: e.target.value });
}}
className={`${
diff --git a/lib/constants/blacklist.ts b/lib/constants/blacklist.ts
index 2f1a7cee65..0a0fd472df 100644
--- a/lib/constants/blacklist.ts
+++ b/lib/constants/blacklist.ts
@@ -1,3 +1,11 @@
+/*
+ * Crowdsourced list of blacklisted domains
+ * How to contribute:
+ * 1. Find a domain that you think should be blacklisted (contain phishing links, spam links, pornographic content, etc.)
+ * 2. Do a "CMD/CTRL + F" search for the domain in this file
+ * 3. If the domain is not found, make a pull request with the domain added to the blacklist
+ */
+
const BLACKLIST = new Set([
"lopescarvalho.adv.br",
"piracynchill.in",