~cytrogen/masto-fe

ref: 4bb7992d4cb62329d5246fd9d2ad2617c2ea078b masto-fe/app/javascript/mastodon/utils/config.js -rw-r--r-- 202 bytes
4bb7992d — Thiago 'Jedi' Cerqueira [Feature] Remove hardcoded limit of media (#11) 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
import ready from '../ready';

export let assetHost = '';

ready(() => {
  const cdnHost = document.querySelector('meta[name=cdn-host]');
  if (cdnHost) {
    assetHost = cdnHost.content || '';
  }
});