~cytrogen/masto-fe

ref: 612a1ee697522e85acbcc0e30868b3aa4cbf110f masto-fe/app/javascript/flavours/glitch/utils/config.js -rw-r--r-- 202 bytes
612a1ee6 — Claire Fix `body_classes` test for glitch-soc 2 years 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 || '';
  }
});