Listen on 0.0.0.0 to be usable by tailscale
This commit is contained in:
@@ -289,5 +289,5 @@ graphAction :: MonadIO m => FilePath -> FilePath -> Int -> m Void
|
|||||||
graphAction rrdPath rrdtool port = liftIO $ forever $ scottyOpts opts (app rrdPath rrdtool)
|
graphAction rrdPath rrdtool port = liftIO $ forever $ scottyOpts opts (app rrdPath rrdtool)
|
||||||
where
|
where
|
||||||
opts = defaultOptions
|
opts = defaultOptions
|
||||||
{ settings = setHost "127.0.0.1" (setPort port defaultSettings)
|
{ settings = setHost "0.0.0.0" (setPort port defaultSettings)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user