studio icon indicating copy to clipboard operation
studio copied to clipboard

Option to change prisma API url

Open FreshImmuc opened this issue 2 years ago • 1 comments

Bug description

I use code-server wich proxies the internal ports through https://<IP>/proxy/<PORT>/<THE ACTUAL URL/PATH>. So for prisma studio it is: https://<IP>/proxy/5555/. The Studio GUI attempts to connect to /api, wich is not possible since the proxy is not available on this url. Maybe add an option to change the API url when an error occurs on the panel?

How to reproduce

Use Prisma studio on a code-server instance.

Expected behavior

The API should've been reachable but wasn't. Explaination above.

Prisma information

/

Environment & setup

  • OS: ubuntu/docker
  • Browser: Chrome
  • Database: sqlite

Screenshot of page where the problem happened (if applicable)

image

Prisma logs

No response

FreshImmuc avatar Apr 07 '23 15:04 FreshImmuc