first merge to main 🚀 #71

Manually merged
philipp merged 491 commits from dev into main 2021-02-19 17:03:06 +00:00
3 changed files with 9 additions and 2 deletions
Showing only changes of commit 3396d17358 - Show all commits

View File

@ -1,5 +1,6 @@
const config = {
baseurl: 'https://dev.lauf-fuer-kaya.de',
fallback_username: 'admin',
fallback_password: '72fpTzsev4xUu78QPs2FCbwZ3'
fallback_password: '72fpTzsev4xUu78QPs2FCbwZ3',
prefersHashRouting: true
};

View File

@ -2,5 +2,6 @@ const config = {
baseurl: 'http://localhost:4010',
// optional params ⏬
fallback_username: 'demo',
fallback_password: 'demo'
fallback_password: 'demo',
prefersHashRouting: true
};

View File

@ -7,6 +7,11 @@
});
console.log($router.path);
console.log(config);
if (config.prefersHashRouting) {
if (config.prefersHashRouting === true) {
router.useHashNavigation();
}
}
import localForage from "localforage";
import { addMessages, init, getLocaleFromNavigator } from "svelte-i18n";
import en from "./locales/en.json";