[GH-ISSUE #315] Configure BaseUrl using Environment variables #115

Closed
opened 2026-03-16 13:30:44 +03:00 by kerem · 2 comments
Owner

Originally created by @Nepoxx on GitHub (Nov 19, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/315

Is your feature request related to a problem? Please describe.
Deploying Postwoman elsewhere than the root url results in multiple 404s since postwoman is not aware of where it is.

Describe the solution you'd like
Being able to set the root/base url would allow deploying postwoman on any subpath of a website, for instance tools.example.com/postwoman. This would be particularly useful for Docker deployments.

Describe alternatives you've considered
A json config file could do, which combined with docker config would also work, but it is a less popular approach.

Originally created by @Nepoxx on GitHub (Nov 19, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/315 **Is your feature request related to a problem? Please describe.** Deploying Postwoman elsewhere than the root url results in multiple 404s since postwoman is not aware of where it is. **Describe the solution you'd like** Being able to set the root/base url would allow deploying postwoman on any subpath of a website, for instance `tools.example.com/postwoman`. This would be particularly useful for Docker deployments. **Describe alternatives you've considered** A `json` config file could do, which combined with `docker config` would also work, but it is a less popular approach.
kerem 2026-03-16 13:30:44 +03:00
Author
Owner

@liyasthomas commented on GitHub (Nov 19, 2019):

Let us discuss over this feature request.

<!-- gh-comment-id:555580439 --> @liyasthomas commented on GitHub (Nov 19, 2019): Let us discuss over this feature request.
Author
Owner

@liyasthomas commented on GitHub (Nov 25, 2019):

Do a npm run generate to build the project and try hosting the /dist directory on server.

<!-- gh-comment-id:558355870 --> @liyasthomas commented on GitHub (Nov 25, 2019): Do a `npm run generate` to build the project and try hosting the `/dist` directory on server.
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#115
No description provided.