Skip to content

Bug: Unable to set SERVER_BASE_URL for ws connections due to a previous removal of variable prefix #389

@Dilrevx

Description

@Dilrevx

This PR(#240 ) removes the NEXT_PUBLIC_ prefix for NEXT_PUBLIC_SERVER_BASE_URL, making such variable invisible for frontend TS codes.

As a result, ws connections always fallback to the default 127.0.0.1:8001 address.

Image

Reproduce setting

Set SERVER_BASE_URL to anything but localhost:8001.

Then all ws connections would still go for localhost:8001, while http connections are forwarded to SERVER_BASE_URL as expected.

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