diff --git a/web/screens/LocalServer/index.tsx b/web/screens/LocalServer/index.tsx index 0b7601f97..d75274f16 100644 --- a/web/screens/LocalServer/index.tsx +++ b/web/screens/LocalServer/index.tsx @@ -74,6 +74,8 @@ const LocalServerScreen = () => { const [host, setHost] = useAtom(hostAtom) const [port, setPort] = useAtom(portAtom) + const hostOptions = ['127.0.0.1', '0.0.0.0'] + const FIRST_TIME_VISIT_API_SERVER = 'firstTimeVisitAPIServer' const [firstTimeVisitAPIServer, setFirstTimeVisitAPIServer] = @@ -167,8 +169,19 @@ const LocalServerScreen = () => { - 127.0.0.1 - 0.0.0.0 + {hostOptions.map((option, i) => { + return ( + + {option} + + ) + })}