dubinc / dub

Open-source link management infrastructure
https://dub.co
GNU Affero General Public License v3.0
16.83k stars 1.72k forks source link

Domain dub.sh not found for local setup #1025

Open vaishak10 opened 4 days ago

vaishak10 commented 4 days ago

Hey there, After setting up the repo in local was able to navigate through the application. Followed all the steps as mentioned in the documentation: https://dub.co/docs/local-development#introduction Didn't face any issue until I found a error while trying to navigate via the link created. As shown in the video it doesn't take me to the link designated to the dub link, instead takes me to the link provided in the prod environment.

https://github.com/dubinc/dub/assets/52874416/8b59abd5-81c1-44d3-853b-2025a06e18c2

What can be the fix for this?

linear[bot] commented 4 days ago

ENG-413 Domain dub.sh not found for local setup

devkiran commented 3 hours ago

This is expected and dub.sh domain doesn't work on localhost. You can use http://dub.localhost:8888 instead.

For example http://dub.localhost:8888/<key>