Remove useless iframe config option
parent
088f597b09
commit
334f8edf18
|
@ -65,6 +65,8 @@ class DashboardController < ApplicationController
|
|||
response.headers["Cache-Control"] = "no-cache, no-store"
|
||||
response.headers["Pragma"] = "no-cache"
|
||||
response.headers["Expires"] = "0"
|
||||
response.headers["X-Frame-Options"] =
|
||||
"ALLOWALL" if [:main_app, :demo].include?(actn)
|
||||
load_css_assets
|
||||
load_js_assets
|
||||
render actn
|
||||
|
|
|
@ -16,9 +16,6 @@ module FarmBot
|
|||
config.middleware.use Rack::Attack
|
||||
config.active_record.schema_format = :sql
|
||||
config.active_job.queue_adapter = :delayed_job
|
||||
config.action_dispatch.default_headers = {
|
||||
"X-Frame-Options" => "ALLOW-FROM https://farm.bot",
|
||||
}
|
||||
config.action_dispatch.perform_deep_munge = false
|
||||
I18n.enforce_available_locales = false
|
||||
LOCAL_API_HOST = ENV.fetch("API_HOST", "parcel")
|
||||
|
|
Loading…
Reference in New Issue