Skip to content

Commit

Permalink
Update manager.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
floaterest authored Dec 8, 2024
1 parent 2c2c294 commit bf145b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/typst-preview/servers/manager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function M.init(path, mode, callback)
)

local port = config.opts.port
local link = '127.0.0.1:' .. tostring(port)
local link = '0.0.0.0:' .. tostring(port)
if links[link] ~= nil then
utils.notify(
'Port ' .. port .. ' is already used by ' .. links[link],
Expand Down

0 comments on commit bf145b5

Please sign in to comment.