[GH-ISSUE #3091] [bug]: Admin dont support custom location #1013

Closed
opened 2026-03-16 18:04:41 +03:00 by kerem · 2 comments
Owner

Originally created by @webysther on GitHub (May 29, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3091

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

If you change the URI on ENV for Admin and build the location os the assets point to root of domain.

This was fixed after build here.

Steps to reproduce

  1. Clone
  2. Change domain admin to exmaple.com/admin
  3. Change the reverse proxy to use this custom location and point to port of admin
  4. Admin work but don't to further because the *.js and *.css point to example.com/

Environment

Production

Version

Self-hosted

Originally created by @webysther on GitHub (May 29, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3091 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior If you change the URI on ENV for Admin and build the location os the assets point to root of domain. This was fixed after build [here](https://github.com/webysther/hoppscotch). ### Steps to reproduce 1. Clone 2. Change domain admin to exmaple.com/admin 3. Change the reverse proxy to use this custom location and point to port of admin 4. Admin work but don't to further because the *.js and *.css point to example.com/ ### Environment Production ### Version Self-hosted
kerem 2026-03-16 18:04:41 +03:00
Author
Owner

@jastisriradheshyam commented on GitHub (Sep 27, 2023):

Setting VITE_ADMIN_URL in .env is not working, Admin UI is ignoring the route in the VITE_ADMIN_URL and only utilizing the protocol (HTTPS) and domain name as URL.
Tested version: 2023.8.1

<!-- gh-comment-id:1737339204 --> @jastisriradheshyam commented on GitHub (Sep 27, 2023): Setting `VITE_ADMIN_URL` in `.env` is not working, Admin UI is ignoring the route in the `VITE_ADMIN_URL` and only utilizing the protocol (HTTPS) and domain name as URL. Tested version: `2023.8.1`
Author
Owner

@balub commented on GitHub (Jan 11, 2024):

Subpath Access to services added in release 2023.12.0.

<!-- gh-comment-id:1886582335 --> @balub commented on GitHub (Jan 11, 2024): Subpath Access to services added in release `2023.12.0`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1013
No description provided.