lib/generators/wasmify/install/templates/config/environments/wasm.rb in wasmify-rails-0.1.1 vs lib/generators/wasmify/install/templates/config/environments/wasm.rb in wasmify-rails-0.1.2
- old
+ new
@@ -24,7 +24,10 @@
if config.respond_to?(:active_storage)
config.active_storage.variant_processor = :null
end
- config.secret_key_base = "<change-me>"
+ # Do not use the same secret key base in a local app (for security reasons)
+ config.secret_key_base = "wasm-secret"
+ # Use a different session cookie name to avoid conflicts
+ config.session_store :cookie_store, key: "_local_session"
end