The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add SLA to footer
Steven Tey0704ee7e3177
diff --git a/apps/web/lib/middleware/utils/bots-list.ts b/apps/web/lib/middleware/utils/bots-list.tsindex c5aa735cb2..b8b4ba08c3 100644--- a/apps/web/lib/middleware/utils/bots-list.ts+++ b/apps/web/lib/middleware/utils/bots-list.ts@@ -148,6 +148,8 @@ export const IP_BOTS = ["156.242.43.111", // Ashburn"156.242.42.55", // Ashburn+ "154.214.1.137", // suspicious "unknown city" IP+"207.46.13.111", // microsoft IP];diff --git a/apps/web/scripts/migrations/backfill-invoice-prefixes.ts b/apps/web/scripts/migrations/backfill-invoice-prefixes.tsindex ed6c6925ba..fa70d805f0 100644--- a/apps/web/scripts/migrations/backfill-invoice-prefixes.ts+++ b/apps/web/scripts/migrations/backfill-invoice-prefixes.ts@@ -6,13 +6,11 @@ async function main() {const workspaces = await prisma.project.findMany({where: {invoicePrefix: null,- defaultProgramId: {- not: null,- },},select: {id: true,},+ take: 100,});if (workspaces.length === 0) {@@ -25,12 +23,19 @@ async function main() {prisma.project.update({where: { id: workspace.id },data: { invoicePrefix: generateRandomString(8) },- select: { id: true, invoicePrefix: true },+ select: { slug: true, invoicePrefix: true },}),),);- console.log("Updated invoice prefixes for workspaces.", updatedWorkspaces);+ const remaining = await prisma.project.count({+ where: {+ invoicePrefix: null,+ },+ });+ console.log(+ `Updated invoice prefixes for ${updatedWorkspaces.length} workspaces. ${remaining} workspaces left to update.`,+ );}main();diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex 6d8f7d459b..80ccc87f4e 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,7 +1,7 @@{"name": "@dub/ui","description": "UI components for Dub",- "version": "0.2.62",+ "version": "0.2.63","sideEffects": false,"main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/ui/src/content.ts b/packages/ui/src/content.tsindex 7198c38d40..3fbf79b3a2 100644--- a/packages/ui/src/content.ts+++ b/packages/ui/src/content.ts@@ -196,13 +196,14 @@ export const COMPARE_PAGES = [];export const LEGAL_PAGES = [- { name: "Privacy Policy", slug: "privacy" },- { name: "Terms of Service", slug: "terms" },- { name: "Partner Terms", slug: "partners" },{ name: "Affiliate Program Terms", slug: "affiliates" },{ name: "DPA", slug: "dpa" },- { name: "Subprocessors", slug: "subprocessors" },+ { name: "Partner Terms", slug: "partners" },+ { name: "Privacy Policy", slug: "privacy" },{ name: "Report Abuse", slug: "abuse" },+ { name: "SLA", slug: "sla" },+ { name: "Subprocessors", slug: "subprocessors" },+ { name: "Terms of Service", slug: "terms" },];export const SOCIAL_LINKS = [