diff --git a/frontend/src/components/HostAlert/index.tsx b/frontend/src/components/HostAlert/index.tsx index 2af92b74..7dee8f94 100644 --- a/frontend/src/components/HostAlert/index.tsx +++ b/frontend/src/components/HostAlert/index.tsx @@ -4,8 +4,11 @@ import SelfhostedAlert from './SelfhostedAlert'; import UnsafeAlert from './UnsafeAlert'; const HostAlert = (): JSX.Element => { - const { client } = useContext(AppContext); - const component = client === 'selfhosted' || client === 'desktop' ? SelfhostedAlert : UnsafeAlert; + const { client, hostUrl } = useContext(AppContext); + const component = + !hostUrl.includes('robosats') && (client === 'selfhosted' || client === 'desktop') + ? SelfhostedAlert + : UnsafeAlert; return component(); }; diff --git a/nodeapp/docker-compose.yml b/nodeapp/docker-compose.yml index 395c9775..1fb024fa 100644 --- a/nodeapp/docker-compose.yml +++ b/nodeapp/docker-compose.yml @@ -7,6 +7,9 @@ services: container_name: nodeapp-dev-frontend restart: always command: npm run dev + volumes: + - ../frontend:/usr/src/frontend + - ./:/usr/src/nodeapp nginx: build: .