mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-12 18:03:03 +00:00
Fix emoji autosuggest when using a CDN for assets
This commit is contained in:
parent
8622dccaf1
commit
b6ce5fa3fb
|
@ -11,7 +11,7 @@ import { unicodeMapping } from 'flavours/glitch/util/emoji';
|
||||||
import { assignHandlers } from 'flavours/glitch/util/react_helpers';
|
import { assignHandlers } from 'flavours/glitch/util/react_helpers';
|
||||||
|
|
||||||
// Gets our asset host from the environment, if available.
|
// Gets our asset host from the environment, if available.
|
||||||
const assetHost = ((process || {}).env || {}).CDN_HOST || '';
|
const assetHost = process.env.CDN_HOST || '';
|
||||||
|
|
||||||
// Handlers.
|
// Handlers.
|
||||||
const handlers = {
|
const handlers = {
|
||||||
|
|
Loading…
Reference in a new issue