mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:17:32 +00:00
More debugging
This commit is contained in:
parent
f3e5625d2d
commit
dd02fc0ec4
|
@ -38,7 +38,7 @@ const assembleStatus = (id, statuses, accounts) => {
|
||||||
if (status.get('reblog', null) !== null) {
|
if (status.get('reblog', null) !== null) {
|
||||||
reblog = statuses.get(status.get('reblog'), null);
|
reblog = statuses.get(status.get('reblog'), null);
|
||||||
|
|
||||||
if (reblog !== null) {
|
if (Immutable.Map.isMap(reblog)) {
|
||||||
reblog = reblog.set('account', accounts.get(reblog.get('account')));
|
reblog = reblog.set('account', accounts.get(reblog.get('account')));
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|
|
@ -19,7 +19,7 @@ Rails.application.configure do
|
||||||
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
||||||
|
|
||||||
# Compress JavaScripts and CSS.
|
# Compress JavaScripts and CSS.
|
||||||
config.assets.js_compressor = Uglifier.new(mangle: false, output: { comments: :all })
|
config.assets.js_compressor = Uglifier.new(mangle: false)
|
||||||
# config.assets.css_compressor = :sass
|
# config.assets.css_compressor = :sass
|
||||||
|
|
||||||
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
||||||
|
|
Loading…
Reference in a new issue