2021-05-01 23:02:08 +02:00
|
|
|
Lucky::RouteHelper.configure do |settings|
|
2021-12-12 18:01:55 +01:00
|
|
|
if LuckyEnv.production?
|
2021-05-01 23:02:08 +02:00
|
|
|
settings.base_uri = ENV.fetch("APP_DOMAIN")
|
|
|
|
else
|
|
|
|
settings.base_uri = "http://localhost:#{Lucky::ServerSettings.port}"
|
|
|
|
end
|
|
|
|
end
|