Skip to content

Commit fa2bd0a

Browse files
committed
try and serve assets directly from production because YOLO
1 parent c36e1f1 commit fa2bd0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# if source.end_with?('png') || source.end_with?('gif') || source.end_with?('jpg')
1414
# ''
1515
# else
16-
request && request.ssl? ? 'https://ggtracker.com' : 'http://a1.ggtracker.com'
16+
'http://ggtracker.com'
1717
# end
1818
}
1919

@@ -25,7 +25,7 @@
2525
config.action_controller.perform_caching = true
2626

2727
# Disable Rails's static asset server (Apache or nginx will already do this)
28-
config.serve_static_assets = false
28+
config.serve_static_assets = true
2929

3030
# Compress JavaScripts and CSS
3131
config.assets.compress = true

0 commit comments

Comments
 (0)