Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix glitch when moving from a tab on profile to default profile view #1117

Closed
wants to merge 9 commits into from
3 changes: 2 additions & 1 deletion frontend/app/src/config/ModeDispatcher.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable no-unused-vars */
import React from 'react';

export enum AppMode {
Expand All @@ -7,7 +8,7 @@ export enum AppMode {
}

const hosts: { [k: string]: AppMode } = {
'localhost:3000': AppMode.TRIBES,
'localhost:3000': AppMode.COMMUNITY,
'localhost:13000': AppMode.TRIBES,
'localhost:23000': AppMode.TRIBES,
'tribes.sphinx.chat': AppMode.TRIBES,
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/src/config/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function getHost(): string {

export function getHostIncludingDockerHosts() {
if (externalDockerHosts.includes(window.location.host)) {
return 'tribes.sphinx:5002';
return 'people.sphinx.chat';
} else if (internalDockerHosts.includes(window.location.host)) {
return window.location.host;
} else {
Expand Down
Loading
Loading