mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-29 18:59:20 +01:00
Remove log statements
This commit is contained in:
@@ -71,7 +71,7 @@ function Put(req: NextApiRequest, res: NextApiResponse) {
|
||||
const targetPath = path.join('data/configs', `${slug}.json`);
|
||||
fs.writeFileSync(targetPath, JSON.stringify(newConfig, null, 2), 'utf8');
|
||||
|
||||
Consola.info(`Config '${slug}' has been updated and flushed to '${targetPath}'.`);
|
||||
Consola.debug(`Config '${slug}' has been updated and flushed to '${targetPath}'.`);
|
||||
|
||||
return res.status(200).json({
|
||||
message: 'Configuration saved with success',
|
||||
|
||||
@@ -49,8 +49,6 @@ export async function getServerSideProps({
|
||||
|
||||
const translations = await getServerSideTranslations(req, res, dashboardNamespaces, locale);
|
||||
|
||||
Consola.info(`Decided to use configuration '${configName}'`);
|
||||
|
||||
const config = getFrontendConfig(configName as string);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user