This commit is contained in:
Ginger Wong
2020-06-18 00:12:39 -07:00
12 changed files with 55 additions and 37 deletions

View File

@@ -47,13 +47,10 @@ async function setupApp() {
const response = await fetch(pageContentFile);
const descriptionMarkdown = await response.text()
const descriptionHTML = new showdown.Converter().makeHtml(descriptionMarkdown);
console.log(descriptionHTML)
app.description = descriptionHTML;
// Object.assign(this, configData);
return this;
} catch (error) {
console.log(error);
// No config file present. That's ok. It's not required.
}
}