In Hanami apps, a nonce is automatically added to javascript_tag when the CSP requires it. But Herb thinks we're inside a Rails app with this error:
I don't expect Herb to provide Hanami-specific advice (yet! 😉), but I wonder if there's some way for Herb (or the user) to opt out of Railsisms if it's clearly not running inside a Rails app?
In Hanami apps, a nonce is automatically added to
javascript_tagwhen the CSP requires it. But Herb thinks we're inside a Rails app with this error:I don't expect Herb to provide Hanami-specific advice (yet! 😉), but I wonder if there's some way for Herb (or the user) to opt out of Railsisms if it's clearly not running inside a Rails app?