How to disable access to certain parts of an express server but be able to enable it later

前端 未结 0 1249
鱼传尺愫
鱼传尺愫 2021-02-10 23:19

I have a server that is fully functioning, but I only want it to be accessable when I say. I do this via a discord bot which works fine. I currently have a boolean variable

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