fixing menues (mobile mostly)

This commit is contained in:
2023-01-21 20:25:58 +02:00
parent 0360afc762
commit d3c23cdd74
10 changed files with 37 additions and 22 deletions

View File

@ -21,6 +21,7 @@ class Entity < ApplicationRecord
end
def self.response(path = "")
return "" if Rails.env.development?
host = Rails.application.credentials.weather_dev
host = Rails.application.credentials.weather_pro if Rails.env.production?
token = Rails.application.credentials.weather_token