Fixed issue where sitemap wouldn’t load

This commit is contained in:
2020-05-21 07:33:22 +02:00
parent c9d263b12c
commit d69682ec06
2 changed files with 10 additions and 16 deletions

View File

@@ -1,9 +1,10 @@
import './reorganize_html.dart' show reorganizeHtml;
import './theme.dart' show enableThemeChanger, setTheme;
import './parse_sitemap.dart' show getSitemap;
import './parse_sitemap.dart' show createSitemap;
Future<void> main() async {
await setTheme();
await reorganizeHtml().then((_) => enableThemeChanger());
await getSitemap();
await reorganizeHtml()
.then((_) => enableThemeChanger())
.then((_) => createSitemap());
}