Skip to content

Allow complex dynamic publicpaths #572

@jhgoebbert

Description

@jhgoebbert

Is your feature request related to a problem? Please describe.
I would like to run the NEST Desktop behind an http-proxy on a dynamically generated sub-url
like, https://portal.de/userid/hash/nest-desktop
The userid and hash changes with every new session and is not predictable in advance.

Describe the solution you'd like
This is possible (I tried it) by adding
publicPath: './'
instead of
publicPath: process.env.BASE_URL,
at https://github.com/nest-desktop/nest-desktop/blob/dev/vue.config.js#L10
as documented at https://cli.vuejs.org/config/#publicpath

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions