Class: Iatelier::Application
- Inherits:
-
Hanami::Application
- Object
- Hanami::Application
- Iatelier::Application
- Defined in:
- lib/iatelier.rb
Instance Method Summary collapse
-
#development ⇒ Object
DEVELOPMENT.
-
#production ⇒ Object
PRODUCTION.
-
#test ⇒ Object
TEST.
Instance Method Details
#development ⇒ Object
DEVELOPMENT
296 297 298 299 |
# File 'lib/iatelier.rb', line 296 configure :development do # Don't handle exceptions, render the stack trace handle_exceptions false end |
#production ⇒ Object
PRODUCTION
312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
# File 'lib/iatelier.rb', line 312 configure :production do # scheme 'https' # host 'example.org' # port 443 assets do # Don't compile static assets in production mode (eg. Sass, ES6) # # See: http://www.rubydoc.info/gems/hanami-assets#Configuration compile false # Use fingerprint file name for asset paths # # See: https://guides.hanamirb.org/assets/overview fingerprint true # Content Delivery Network (CDN) # # See: https://guides.hanamirb.org/assets/content-delivery-network # # scheme 'https' # host 'cdn.example.org' # port 443 # Subresource Integrity # # See: https://guides.hanamirb.org/assets/content-delivery-network/#subresource-integrity subresource_integrity :sha256 end end |
#test ⇒ Object
TEST
304 305 306 307 |
# File 'lib/iatelier.rb', line 304 configure :test do # Don't handle exceptions, render the stack trace handle_exceptions false end |