fix(version-check): clear localStorage if need
This commit is contained in:
@@ -10,6 +10,7 @@ export const getAppEnvConfig = () => {
|
||||
VITE_LAMP_PASSWORD,
|
||||
VITE_LAMP_AUTHORIZATION,
|
||||
VITE_DEBUG_CODE,
|
||||
VITE_STORAGE_VERSION,
|
||||
} = env;
|
||||
return {
|
||||
requestInterval: Number.parseInt(VITE_REQUEST_INTERVAL as string),
|
||||
@@ -20,5 +21,6 @@ export const getAppEnvConfig = () => {
|
||||
lampPassword: VITE_LAMP_PASSWORD as string,
|
||||
lampAuthorization: VITE_LAMP_AUTHORIZATION as string,
|
||||
debugCode: VITE_DEBUG_CODE as string,
|
||||
storageVersion: VITE_STORAGE_VERSION as string,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user