Skip to content

Env var VITE_ARK_SERVER silently overridden by cached localStorage config #594

@Dunsin-cyber

Description

@Dunsin-cyber

when VITE_ARK_SERVER is set (via .env.local or inline), the app still connects to the previously saved server URL because readConfigFromStorage() in ConfigProvider spreads the stored config over the defaults, making the env var have no effect unless localStorage is manually cleared.

VITE_ARK_SERVER should always take precedence over any cached value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions