-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Rails to 7.2 #1888
base: develop
Are you sure you want to change the base?
Upgrade Rails to 7.2 #1888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the load_default to 7.0 or gradually uncomment new_framework_defaults configs until we have uncommented all.
config/initializers/cors.rb
Outdated
# Be sure to restart your server when you modify this file. | ||
|
||
# Avoid CORS issues when API is called from the frontend app. | ||
# Handle Cross-Origin Resource Sharing (CORS) in order to accept cross-origin Ajax requests. | ||
|
||
# Read more: https://github.com/cyu/rack-cors | ||
|
||
# Rails.application.config.middleware.insert_before 0, Rack::Cors do | ||
# allow do | ||
# origins "example.com" | ||
# | ||
# resource "*", | ||
# headers: :any, | ||
# methods: [:get, :post, :put, :patch, :delete, :options, :head] | ||
# end | ||
# end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this comment.
@keshavbiswa we need to check and plan moving to hotwired as well slowly. |
No description provided.