Closed rinx closed 2 years ago
sorry i made this commit conflict i'll fix it soon
thank you for your great work!๐๐ป
i think that Listenner.addr.hostname returns "::1" if hostname is "localhost". (As a result, the specified address is not recognized by the browser and does not seem to open properly.)
I would appreciate it if you could confirm
(Forgive me if I am wrong)
ใใใใชใใ ็งใฎ็ฐๅขใฎๅ้กใใใใใชใใงใโฆ
Deno.listen()ใซhostname: 127.0.0.1ใๅฉ็จใใใฐใใพใๅใใใใงใใ
@kat0h ใ็ขบ่ชใใใใจใใใใใพใใ ๅใๆฅใใณใณใใชใฏใใฎ่งฃๆถใใใพใใใ(#21 ใจใใกๅใ็ฎๆใใใใพใใใใใฟใพใใโฆ)
hostname: "localhost" ใซใใใจใใฉใฆใถๅดใงใใพใ้ใใชใไปถใ็งใฎ็ฐๅขใงใฏๅ็พใใพใใใงใใใใ
ใณใณใใชใฏใ่งฃๆถใใใใจใใใใใพใใ
hostnameใซใคใใฆใชใฎใงใใใใใใใใใใใฐใใใฉใซใใhostname: "127.0.0.1"ใซใใฆใๅ้กใชใใ๏ผๆ็คบ็ใซใซใผใใใใฏใขใใฌในใๆๅฎใใใฐipv4(?)ใฎใปใใง่ฟใใฆใใใใ๏ผ๏ผ่ฉฆใใฆใใใ ใใพใใงใใใใใ ใใใใใใญใใใใพใ๐
ใใใใจใใใใใพใใ
็งใฎ็ฐๅขใง็ขบ่ชใใใจใใใhostname: "127.0.0.1" ใงๅ้กใชใๅไฝใใพใใ!
ใใใใจใใใใใพใ๏ผใใกใใงใไธๆใๅใใใจใ็ขบ่ชใงใใพใใ๐๐ป
Signed-off-by: Rintaro Okamura rintaro.okamura@gmail.com
In this PR, I added
g:bufpreview_server_host
(b:bufpreview_server_host
) andg:bufpreview_server_port
(b:bufpreview_server_port
) options that represent the server hostname and port number.Could you please consider to add such configuration options?