How to get Node server's protocol?

前端 未结 0 1733
醉梦人生
醉梦人生 2021-01-30 18:45

I want to display the current full url the server is hosted on.

const hostname = require(\'os\').hostname();
const listener         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题