Sinatra - how do I get the server's domain name

后端 未结 0 1921
孤城傲影
孤城傲影 2021-02-11 20:32

I\'m trying to get the domain name in my Sinatra app but as a newbie I really am struggling to figure out how to do this, and I know it must be possible!

Rack::Req

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