dub icon indicating copy to clipboard operation
dub copied to clipboard

Show the actual subpath link instead of the subdomain

Open steven-tey opened this issue 1 year ago • 6 comments

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)

steven-tey avatar May 08 '24 20:05 steven-tey

@steven-tey can I work on this one?

Pratham271 avatar May 11 '24 03:05 Pratham271

@Pratham271 sure – what do you have in mind?

steven-tey avatar May 12 '24 20:05 steven-tey

@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 avatar May 17 '24 00:05 Pratham271

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

Pratham271 avatar May 25 '24 09:05 Pratham271

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

https://github.com/dubinc/dub/blob/main/apps/web/app/api/workspaces/route.ts

I think the POST request resides here?

paanjoe avatar Jun 05 '24 14:06 paanjoe