Merge pull request #2883 from hennevogel/bugfix/app-booting

Bugfix app booting
This commit is contained in:
Henne Vogelsang 2021-09-13 21:05:00 +02:00 committed by GitHub
commit 68f30443c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,8 @@
# frozen_string_literal: true
# This file is used by Rack-based servers to start the application.
require_relative 'config/environment'
run Rails.application
Rails.application.load_server
Rails.application.load_server if Rails::VERSION::MAJOR == 6

View file

@ -2,4 +2,4 @@
# Specify a serializer for the signed and encrypted cookie jars.
# Valid options are :json, :marshal, and :hybrid.
Rails.application.config.action_dispatch.cookies_serializer = :json
Rails.application.config.action_dispatch.cookies_serializer = :hybrid