fix: not found redirect

This commit is contained in:
Andras Bacsai
2022-09-22 09:04:32 +02:00
parent a2d5d99c1f
commit 3668f83693
5 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
if (id !== 'new' && (!database || Object.entries(database).length === 0)) {
return {
status: 302,
redirect: '/databases'
redirect: '/'
};
}
const configurationPhase = checkConfiguration(database);