Skip to content

url context path not supported - works only if deployed at root path / #10

@andresoviedo

Description

@andresoviedo

hi,
thank you. nice piece of work !

i think i found 1 bug on this line (main branch)

let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}/${terminal`);

this is my patch to work when the app is not deployed at the root path (e.g. /cloudterm/, /cloudtem/terminal)

 let ws = new WebSocket(`${sec?"wss":"ws"}://${location.host}${location.pathname}terminal`);

i think the solution should be something robust to support the context path

regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions