Skip to content

Make port, host and base URL configurable in options.js #159

@mik01aj

Description

@mik01aj
  1. Port.
    I know that setting a port is possible with the command-line -p option, but I'd like to have it in the config.
  2. Host.
    Listening on localhost instead of 0.0.0.0 would be useful not to have an open port to the whole world. Listening on a local IP would be useful to accept only requests from the local network (e.g. VPN).
  3. Base URL.
    Changing the base URL (that will be used for resources) would be useful for hosting Source in some subfolder on a host. For example with HAProxy we can redirect my-server.com/styleguide/path to its own localhost:8080/path, but for it to work it needs also all the resource URLs to be correct. This is relatively high priority for my case, but I understand that this case might be not very popular :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions