diff --git a/src/shared/components/app.tsx b/src/shared/components/app.tsx index 9d72b016..53d5c151 100644 --- a/src/shared/components/app.tsx +++ b/src/shared/components/app.tsx @@ -24,16 +24,18 @@ export class App extends Component { <>
- {this.props.site && this.props.site.site.icon && ( - - - - )} + {this.props.site && + this.props.site.site && + this.props.site.site.icon && ( + + + + )}
diff --git a/src/shared/env.ts b/src/shared/env.ts index 97752867..073e8e5a 100644 --- a/src/shared/env.ts +++ b/src/shared/env.ts @@ -26,6 +26,9 @@ export const wsUri = `ws${secure}://${host}/api/v1/ws`; export const httpUri = `${httpBase}/api/v1`; export const pictrsUri = `${httpBase}/pictrs/image`; +console.log(`httpbase: ${httpBase}`); +console.log(`wsUri: ${wsUri}`); + // This is for html tags, don't include port const httpExternalUri = `http${secure}://${externalHost.split(':')[0]}`; export function httpExternalPath(path: string) {