Skip to content

frontend_path without a leading slash results in incorrect message printed #6360

@masenf

Description

@masenf

Describe the bug
specify REFLEX_FRONTEND_PATH=noslash reflex run

In startup the wrong url is printed:

[INFO] Started worker-1
c
App running at: http://localhost:3001/noslash/noslash/
Backend running at: http://0.0.0.0:8000

To Reproduce
Specify frontend_path without a leading slash -- it gets formatted incorrectly during to the use of urljoin having a different behavior for "relative" vs "absolute" path segments

Specifics (please complete the following information):

  • Python Version: any
  • Reflex Version: 0.9.0
  • OS: macOS / any
  • Browser (Optional): n/a

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