lib: add default to config from file://

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-08 17:13:13 +02:00
parent 545a114450
commit 1b87375661
2 changed files with 2 additions and 1 deletions

View file

@ -92,6 +92,7 @@ class ConfigLoader:
value = _file.read()
except OSError:
self._log("error", f"Failed to read config value from {url.netloc}")
value = url.query
return value
def update_from_file(self, path: str):

View file

@ -88,7 +88,7 @@ export class LibraryPage extends LitElement {
apps?: AKResponse<Application>;
pageTitle(): string {
return t`Applications`;
return t`My Applications`;
}
static get styles(): CSSResult[] {