~edwardloveall/scribe

scribe/config/route_helper.cr -rw-r--r-- 207 bytes
93f5cb2dEdward Loveall Update CHANGELOG a month ago
                                                                                
1
2
3
4
5
6
7
Lucky::RouteHelper.configure do |settings|
  if LuckyEnv.production?
    settings.base_uri = ENV.fetch("APP_DOMAIN")
  else
    settings.base_uri = "http://localhost:#{Lucky::ServerSettings.port}"
  end
end