dubinc / dub

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

Show the actual subpath link instead of the subdomain #874

Open steven-tey opened 3 weeks ago

steven-tey commented 3 weeks ago

When using Dub with a subpath, Dub should show the actual subpath link (e.g. domain.com/r/:path) instead of the proxy domain (r.domain.com/:path)

linear[bot] commented 3 weeks ago

ENG-311 Show the actual subpath link instead of the subdomain

Pratham271 commented 3 weeks ago

@steven-tey can I work on this one?

steven-tey commented 2 weeks ago

@Pratham271 sure – what do you have in mind?

Pratham271 commented 2 weeks ago

@steven-tey

so we want to display the domain.com/r/:path directly instead if showing the r.domain.com/:path and then redirecting it to domain.com/r/:path?

Pratham271 commented 1 week ago

Hey @steven-tey I wanted to know if this is still open cause I was testing it out in local dev and when creating a workspace it is giving me the error API error occurred {} [0] POST /api/workspaces 500 in 197ms and when I started searching I couldn't find a post request to api/workspace there is only a get request