Port ce87767572
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
th-downstream
parent
5901c4141c
commit
97eadf8dee
@ -1,2 +1,3 @@
|
|||||||
|
import 'packs/public-path';
|
||||||
import './settings';
|
import './settings';
|
||||||
import './two_factor_authentication';
|
import './two_factor_authentication';
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// This file will be loaded on all pages, regardless of theme.
|
// This file will be loaded on all pages, regardless of theme.
|
||||||
|
|
||||||
|
import 'packs/public-path';
|
||||||
import 'font-awesome/css/font-awesome.css';
|
import 'font-awesome/css/font-awesome.css';
|
||||||
|
|
||||||
require.context('../images/', true);
|
require.context('../images/', true);
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
import ready from './ready';
|
||||||
|
|
||||||
|
export let assetHost = '';
|
||||||
|
|
||||||
|
ready(() => {
|
||||||
|
const cdnHost = document.querySelector('meta[name=cdn-host]');
|
||||||
|
if (cdnHost) {
|
||||||
|
assetHost = cdnHost.content || '';
|
||||||
|
}
|
||||||
|
});
|
@ -1 +1,2 @@
|
|||||||
|
import './public-path';
|
||||||
import 'styles/application.scss';
|
import 'styles/application.scss';
|
||||||
|
Loading…
Reference in new issue