Skip to content

Commit 2424b1c

Browse files
ihabadhamclaude
andcommitted
Enable RSC support in Pro initializer
Add the three RSC fields per the marketplace demo initializer (react-on-rails-demo-marketplace-rsc/config/initializers/ react_on_rails_pro.rb): - enable_rsc_support = true - rsc_bundle_js_file = "rsc-bundle.js" - rsc_payload_generation_url_path = "rsc_payload/" Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 767c513 commit 2424b1c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/initializers/react_on_rails_pro.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@
1616
# so a blank env var (.env.example ships with `RENDERER_PASSWORD=`)
1717
# falls back to the dev default, matching the JS side's `||`.
1818
config.renderer_password = ENV["RENDERER_PASSWORD"].presence || "local-dev-renderer-password"
19+
20+
config.enable_rsc_support = true
21+
config.rsc_bundle_js_file = "rsc-bundle.js"
22+
config.rsc_payload_generation_url_path = "rsc_payload/"
1923
end

0 commit comments

Comments
 (0)