mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-01 10:56:31 +08:00
page (login): refactore the login page to enable multiple time the same backend
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
let settings = JSON.parse(window.localStorage.getItem("settings")) || {};
|
||||
|
||||
export function settings_get(key){
|
||||
if(settings[key] === undefined){
|
||||
return null;
|
||||
}
|
||||
return settings[key];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user