🔇 Remove unnecessary console logs

This commit is contained in:
ajnart
2023-11-07 17:06:38 +01:00
parent 7f851fdd10
commit 3c4f5efa05
2 changed files with 0 additions and 3 deletions

View File

@@ -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(

View File

@@ -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