Skip to content

Commit 9ecf662

Browse files
committed
docs: require renderer password env var in node renderer example
1 parent d70906b commit 9ecf662

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/pro/node-renderer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Configure Rails to use the Node Renderer:
6565
ReactOnRailsPro.configure do |config|
6666
config.server_renderer = "NodeRenderer"
6767
config.renderer_url = ENV["REACT_RENDERER_URL"] || "http://localhost:3800"
68-
config.renderer_password = ENV["RENDERER_PASSWORD"] || "changeme"
68+
config.renderer_password = ENV.fetch("RENDERER_PASSWORD")
6969
end
7070
```
7171

0 commit comments

Comments
 (0)