Skip to content

Commit 1026c5e

Browse files
authored
Little changes to description configuration
1 parent efdac13 commit 1026c5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ Change the below setting in test.rb
123123

124124
```ruby
125125
config.enable_reloading = ENV['CYPRESS'].present?
126+
...
127+
config.action_controller.allow_forgery_protection = ENV["CYPRESS"].present?
126128
```
127129

128130
### WARNING
@@ -133,6 +135,7 @@ Please use with extra caution if starting your local server on 0.0.0.0 or runnin
133135

134136
Getting started on your local environment
135137

138+
Also anywhere in configuartion, if port `3000` exists, simply add ENV['CYPRESS'].present? ? `5017` : `3000`
136139
```shell
137140
# start rails with test environment
138141
CYPRESS=1 RAILS_ENV=test bin/rails server -p 5017

0 commit comments

Comments
 (0)