Optimisation pour la gestion des assets
This commit is contained in:
parent
4d96c3ab81
commit
25d6e855a4
@ -1,4 +1,4 @@
|
|||||||
developmen:
|
development:
|
||||||
adapter: sqlite3
|
adapter: sqlite3
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
@ -13,8 +13,7 @@ test:
|
|||||||
timeout: 5000
|
timeout: 5000
|
||||||
database: db/test.sqlite3
|
database: db/test.sqlite3
|
||||||
|
|
||||||
#production:
|
production:
|
||||||
development:
|
|
||||||
adapter: mysql2
|
adapter: mysql2
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
database: adl_fr
|
database: adl_fr
|
||||||
|
@ -56,6 +56,7 @@ Rails.application.configure do
|
|||||||
|
|
||||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
||||||
# config.action_controller.asset_host = "http://assets.example.com"
|
# config.action_controller.asset_host = "http://assets.example.com"
|
||||||
|
config.action_controller.asset_host = "http://assets%d.agendadulibre.org"
|
||||||
|
|
||||||
# Precompile additional assets.
|
# Precompile additional assets.
|
||||||
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
||||||
|
Loading…
Reference in New Issue
Block a user