mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 06:36:17 +00:00
Adding some logging.
This commit is contained in:
parent
6016e1b2cc
commit
3d9f8ed9f9
|
@ -24,7 +24,9 @@ export class App extends Component<AppProps, any> {
|
||||||
<>
|
<>
|
||||||
<Provider i18next={i18n}>
|
<Provider i18next={i18n}>
|
||||||
<div>
|
<div>
|
||||||
{this.props.site && this.props.site.site.icon && (
|
{this.props.site &&
|
||||||
|
this.props.site.site &&
|
||||||
|
this.props.site.site.icon && (
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<link
|
<link
|
||||||
id="favicon"
|
id="favicon"
|
||||||
|
|
|
@ -26,6 +26,9 @@ export const wsUri = `ws${secure}://${host}/api/v1/ws`;
|
||||||
export const httpUri = `${httpBase}/api/v1`;
|
export const httpUri = `${httpBase}/api/v1`;
|
||||||
export const pictrsUri = `${httpBase}/pictrs/image`;
|
export const pictrsUri = `${httpBase}/pictrs/image`;
|
||||||
|
|
||||||
|
console.log(`httpbase: ${httpBase}`);
|
||||||
|
console.log(`wsUri: ${wsUri}`);
|
||||||
|
|
||||||
// This is for html tags, don't include port
|
// This is for html tags, don't include port
|
||||||
const httpExternalUri = `http${secure}://${externalHost.split(':')[0]}`;
|
const httpExternalUri = `http${secure}://${externalHost.split(':')[0]}`;
|
||||||
export function httpExternalPath(path: string) {
|
export function httpExternalPath(path: string) {
|
||||||
|
|
Loading…
Reference in a new issue