You can now go back to config by typeing cnf

This commit is contained in:
2021-04-05 17:29:25 +02:00
parent 866436fa82
commit 9135090e73
5 changed files with 56 additions and 19 deletions

View File

@@ -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();
}