mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-15 23:28:22 +09:00
13 lines
215 B
JavaScript
13 lines
215 B
JavaScript
import Rails from '@rails/ujs';
|
|
import 'font-awesome/css/font-awesome.css';
|
|
|
|
export function start() {
|
|
require.context('../images/', true);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch (e) {
|
|
// If called twice
|
|
}
|
|
}
|