mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-16 02:06:21 +01:00
🐛 Fix config changer and critical bug in copy config
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import Consola from 'consola';
|
||||
|
||||
import { ConfigType } from '../../types/config';
|
||||
import { getConfig } from './getConfig';
|
||||
|
||||
export const getFrontendConfig = (name: string): ConfigType => {
|
||||
const config = getConfig(name);
|
||||
|
||||
Consola.info(`Requested frontend content of configuration '${name}'`);
|
||||
|
||||
return {
|
||||
...config,
|
||||
apps: config.apps.map((app) => ({
|
||||
|
||||
Reference in New Issue
Block a user