Skip to content

Improve error message when url is wrong #566

@piotrze

Description

@piotrze

Expected behavior

Show error that url is wrong

Actual behavior

It shows that you are authorized

Steps to reproduce the problem

I had prod env setup in .pos it was pointing to the system domain.
We have changed this domain to redirect to the different address.
Now when I run pos-cli gui serve it fails with the unauthorized error, which is misleading.
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions