You can now go back to config by typeing cnf
This commit is contained in:
@@ -25,3 +25,9 @@ export const lang = writable(stored_lang);
|
||||
lang.subscribe((value) => {
|
||||
localStorage.setItem('lang', value);
|
||||
});
|
||||
|
||||
export function clear(){
|
||||
api_endpoint.set(null)
|
||||
apikey.set(null);
|
||||
localStorage.clear();
|
||||
}
|
||||
Reference in New Issue
Block a user