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.
when
VITE_ARK_SERVERis set (via .env.local or inline), the app still connects to the previously saved server URL becausereadConfigFromStorage()in ConfigProvider spreads the stored config over the defaults, making the env var have no effect unless localStorage is manually cleared.VITE_ARK_SERVERshould always take precedence over any cached value.