]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsyspack.yaml
Cleanup
[packbundle] / Resources / config / packages / rapsyspack.yaml
index 9d63d14a228483e8140d597ce4461a84148c0a39..f57cf7445cbfdbec9510ba9fce7e3abdd2b97ca6 100644 (file)
@@ -2,14 +2,12 @@
 parameters:
     # User agent
     env(RAPSYSPACK_AGENT): "rapsyspack/Ch4ng3m3!"
 parameters:
     # User agent
     env(RAPSYSPACK_AGENT): "rapsyspack/Ch4ng3m3!"
-    # Hostname
-    env(RAPSYSPACK_HOSTNAME): "Ch4ng3m3!"
     # Shuffled printable character range
     env(RAPSYSPACK_RANGE): 'Ch4ng3m3!'
     # Redirect
     env(RAPSYSPACK_REDIRECT): 20
     # Scheme
     # Shuffled printable character range
     env(RAPSYSPACK_RANGE): 'Ch4ng3m3!'
     # Redirect
     env(RAPSYSPACK_REDIRECT): 20
     # Scheme
-    env(RAPSYSPACK_SCHEME): "https://"
+    env(RAPSYSPACK_SCHEME): "https"
     # Timeout
     env(RAPSYSPACK_TIMEOUT): 60
 
     # Timeout
     env(RAPSYSPACK_TIMEOUT): 60
 
@@ -45,7 +43,7 @@ services:
     # Register twig pack extension
     rapsyspack.pack_extension:
         class: 'Rapsys\PackBundle\Extension\PackExtension'
     # Register twig pack extension
     rapsyspack.pack_extension:
         class: 'Rapsys\PackBundle\Extension\PackExtension'
-        arguments: [ '@service_container', '@rapsyspack.intl_util', '@file_locator', '@rapsyspack.path_package', '@rapsyspack.slugger_util' ]
+        arguments: [ '@rapsyspack.intl_util', '@file_locator', '@rapsyspack.path_package', '@rapsyspack.slugger_util', '%rapsyspack%' ]
         tags: [ 'twig.extension' ]
     # Register assets pack package
     rapsyspack.path_package:
         tags: [ 'twig.extension' ]
     # Register assets pack package
     rapsyspack.path_package:
@@ -55,7 +53,7 @@ services:
     # Register slugger util service
     rapsyspack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
     # Register slugger util service
     rapsyspack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
-        arguments: [ '%env(string:RAPSYSPACK_RANGE)%', '%kernel.secret%' ]
+        arguments: [ '%kernel.secret%' ]
         public: true
     # Register range command
     Rapsys\PackBundle\Command\RangeCommand:
         public: true
     # Register range command
     Rapsys\PackBundle\Command\RangeCommand: