Change logging to DEBUG
This commit is contained in:
parent
42be9d2062
commit
eae54f9343
|
@ -11,7 +11,7 @@ struct AppConfig {
|
|||
|
||||
void main() {
|
||||
const AppConfig config = readConfig();
|
||||
auto provider = new DefaultProvider(Levels.INFO);
|
||||
auto provider = new DefaultProvider(Levels.DEBUG);
|
||||
configureLoggingProvider(provider);
|
||||
infoF!"Loaded app config: port = %d, webOrigin = %s"(config.port, config.webOrigin);
|
||||
|
||||
|
|
|
@ -78,6 +78,9 @@ router.beforeEach((to, _, next) => {
|
|||
} else {
|
||||
document.title = 'Finnow'
|
||||
}
|
||||
if (import.meta.env.DEV) {
|
||||
document.title = '[DEV]' + document.title
|
||||
}
|
||||
next()
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue