mirror of
https://github.com/ajnart/homarr.git
synced 2025-10-26 08:06:12 +01:00
🔇 Remove unnecessary console logs
This commit is contained in:
@@ -41,8 +41,6 @@ export const getFrontendConfig = async (name: string): Promise<ConfigType> => {
|
||||
);
|
||||
}
|
||||
|
||||
Consola.info(`Requested frontend content of configuration '${name}'`);
|
||||
// If not, return the config
|
||||
const someAppsWithoutProps = config.apps.filter(
|
||||
(app) =>
|
||||
app.integration?.properties.some(
|
||||
|
||||
@@ -42,7 +42,6 @@ const getTrpcConfiguration = () => ({
|
||||
const getBaseUrl = () => {
|
||||
if (typeof window !== 'undefined') return ''; // browser should use relative url
|
||||
if (env.HOSTNAME) {
|
||||
console.log('Constructing internal hostname address using', env.HOSTNAME, env.NEXT_PUBLIC_PORT);
|
||||
return `http://${env.HOSTNAME}:${env.NEXT_PUBLIC_PORT}`;
|
||||
}
|
||||
return `http://localhost:${env.NEXT_PUBLIC_PORT ?? 3000}`; // dev SSR should use localhost
|
||||
|
||||
Reference in New Issue
Block a user