How to set CORS origin in Google App Engine for Ruby Project
It took me some time to figure and I can say that there is no way to set CORS origins in google UI. So we will have to install gem inside our API project and…
It took me some time to figure and I can say that there is no way to set CORS origins in google UI. So we will have to install gem inside our API project and deploy changes to google cloud:
- Add gem 'rack-cors' to gem file
- Bundle install
- Add following to application.rb:
config.middleware.insert_before 0, Rack::Cors do
allow do
origins '*'
resource '*', headers: :any, methods: :any
end
endDon't forget to update '*' before deploying to production.
// keep reading

Indie Release Notes #6: MudQuest Reborn
MudQuest Reborn: Enhanced indie game with SwiftUI, new partnerships, and app updates for better performance
read→
Indie Updates: 413 Content Too Large
Struggling to scale down MudQuest project as deadline looms. Refocusing on real-time event finder. Key features outlined for completion
read→
Indie Release Notes #5
Discover MudQuest: the first social media app for off-road enthusiasts to organize and join real-time adventures and trail gatherings
read→