Skip to content

Commit

Permalink
Support old browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Aug 18, 2024
1 parent 7fe63f2 commit 0bb6fa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class ApplicationController < ActionController::Base
# Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
allow_browser versions: :modern
# allow_browser versions: :modern
# NOTE: nabu needs to support old browsers due to regional context

before_action :set_timezone
before_action :set_access_headers
Expand Down

0 comments on commit 0bb6fa8

Please sign in to comment.