Port 4c45b43cb8
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
parent
842c048c6b
commit
813c84cd6c
@ -1,2 +1,3 @@ |
||||
import 'packs/public-path'; |
||||
import './settings'; |
||||
import './two_factor_authentication'; |
||||
|
@ -1,5 +1,6 @@ |
||||
// This file will be loaded on all pages, regardless of theme.
|
||||
|
||||
import 'packs/public-path'; |
||||
import 'font-awesome/css/font-awesome.css'; |
||||
|
||||
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'; |
||||
|
Loading…
Reference in new issue