🐛 Fix issue with old migration and add migration for location
This commit is contained in:
1 parent
f033697579
commit
c7e066392f
6 files changed
+458
-399
No files matched your search
@@ -38,7 +38,7 @@ export async function getServerSideProps({
|
||||
};
|
||||
}
|
||||
|
||||
const config = getFrontendConfig(configName as string);
|
||||
const config = await getFrontendConfig(configName as string);
|
||||
setCookie('config-name', configName, {
|
||||
req,
|
||||
res,
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ export async function getServerSideProps({
|
||||
}
|
||||
|
||||
const translations = await getServerSideTranslations(dashboardNamespaces, locale, req, res);
|
||||
const config = getFrontendConfig(configName as string);
|
||||
const config = await getFrontendConfig(configName as string);
|
||||
|
||||
return {
|
||||
props: {
|
||||
|
||||
Reference in new issue
Block a user