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.

update links

Steven Tey308521774947
diff --git a/apps/docs/self-hosting.mdx b/apps/docs/self-hosting.mdx
index de32f59a5a..563988d102 100644
--- a/apps/docs/self-hosting.mdx
+++ b/apps/docs/self-hosting.mdx
@@ -194,8 +194,8 @@ Next, you'll need to set up a [PlanetScale](https://planetscale.com/)-compatible
for this option. A cheaper alternative is to use a [MySQL database on
Railway](https://railway.app/template/mysql) ($5/month).
- For [local development](local-development), we recommend using a local MySQL database
- with PlanetScale simulator (100% free).
+ For [local development](local-development), we recommend using a [local MySQL database
+ with PlanetScale simulator](local-development#option-1-local-mysql-database-with-planetscale-simulator-recommended) (100% free).
</Note>
<Steps>
diff --git a/apps/web/.env.example b/apps/web/.env.example
index 981764d3fb..df2246e40a 100644
--- a/apps/web/.env.example
+++ b/apps/web/.env.example
@@ -32,7 +32,7 @@ QSTASH_NEXT_SIGNING_KEY=
# MySQL Database via Planetscale
# Get your MySQL Database URL here: https://planetscale.com/docs/tutorials/connect-nodejs-app
DATABASE_URL="mysql://root:@localhost:3306/planetscale"
-# Set local development documentation for connecting to a local database: https://dub.co/docs/local-development#step-4-set-up-planetscale-database
+# Set local development documentation for connecting to a local database: https://dub.co/docs/local-development#step-4-set-up-planetscale-mysql-database
PLANETSCALE_DATABASE_URL="http://root:unused@localhost:3900"
# Generate a random secret here: https://generate-secret.vercel.app/32