Class: Ilog::Application
- Inherits:
-
Hanami::Application
- Object
- Hanami::Application
- Ilog::Application
- Defined in:
- lib/ilog.rb
Instance Method Summary collapse
-
#development ⇒ Object
DEVELOPMENT.
-
#production ⇒ Object
PRODUCTION.
-
#test ⇒ Object
TEST.
Instance Method Details
#development ⇒ Object
DEVELOPMENT
293 294 295 296 |
# File 'lib/ilog.rb', line 293 configure :development do # Don't handle exceptions, render the stack trace handle_exceptions false end |
#production ⇒ Object
PRODUCTION
309 310 311 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 |
# File 'lib/ilog.rb', line 309 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
301 302 303 304 |
# File 'lib/ilog.rb', line 301 configure :test do # Don't handle exceptions, render the stack trace handle_exceptions false end |