Skip to content

Commit 9459ce5

Browse files
ihabadhamclaude
andcommitted
Restore license setup guidance in initializer comments
Over-trimmed in the previous cleanup commit. The longer wording has non-obvious info (where to get the JWT, which envs skip license, what Pro does when no license is set) that readers genuinely benefit from — beyond what the generator template's one-line version captures. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8032762 commit 9459ce5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

config/initializers/react_on_rails_pro.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# frozen_string_literal: true
22

33
# See https://reactonrails.com/docs/configuration/configuration-pro
4-
# License: Set REACT_ON_RAILS_PRO_LICENSE environment variable
4+
# Production license: set REACT_ON_RAILS_PRO_LICENSE to the JWT token from
5+
# https://pro.reactonrails.com/. Development and test environments don't
6+
# require a license — the Pro engine logs an info-level notice only.
57
ReactOnRailsPro.configure do |config|
68
config.server_renderer = "NodeRenderer"
79
# Raise loudly when the renderer is unavailable instead of silently

0 commit comments

Comments
 (0)