Browse Source

Fix emoji autosuggest when using a CDN for assets

closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
b6ce5fa3fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/features/composer/textarea/suggestions/item/index.js

+ 1
- 1
app/javascript/flavours/glitch/features/composer/textarea/suggestions/item/index.js View File

@ -11,7 +11,7 @@ import { unicodeMapping } from 'flavours/glitch/util/emoji';
import { assignHandlers } from 'flavours/glitch/util/react_helpers';
// Gets our asset host from the environment, if available.
const assetHost = ((process || {}).env || {}).CDN_HOST || '';
const assetHost = process.env.CDN_HOST || '';
// Handlers.
const handlers = {

Loading…
Cancel
Save