Skip to content

Commit e62fb01

Browse files
authored
Avoid authenticity error in codespaces dev (#17)
1 parent faa7d54 commit e62fb01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/environments/development.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,7 @@
7676

7777
# Uncomment if you wish to allow Action Cable access from any origin.
7878
# config.action_cable.disable_request_forgery_protection = true
79+
80+
# Allow POST authenticity on Codespaces in dev
81+
config.action_controller.forgery_protection_origin_check = false
7982
end

0 commit comments

Comments
 (0)