github / github/secure_headers

"Configuration already exists" error

Đang mở
#545 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
3.2k
Fork
253
Merge trung bình
19 giờ 11 phút
Pull request đã merge (30 ngày)
1

Mô tả

I have a dockerized rails application and every time i change from a branch into another, I receive:
```
2025-02-05 10:43:33.634438 F [48:puma srv tp 001 reporting.rb:38] [[]] Rails -- Exception: SecureHeaders::Configuration::AlreadyConfiguredError: Configuration already exists
app.1 | /opt/bundle/ruby/2.7.0/gems/secure_headers-6.5.0/lib/secure_headers/configuration.rb:47:in `override'
10:43:33 app.1 | /app/app/controllers/application_controller.rb:47:in `'
```
To fix it I have to restart the docker container which is awkward.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.