dubinc / dub

Open-source link management infrastructure. Loved by modern marketing teams like Vercel, Raycast, and Perplexity.

Home Page:https://dub.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show the actual subpath link instead of the subdomain

steven-tey opened this issue · 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 can I work on this one?

@Pratham271 sure – what do you have in mind?

@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?

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

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?