mirror of
https://github.com/funamitech/mastodon
synced 2024-12-12 13:48:35 +09:00
12 lines
191 B
JavaScript
12 lines
191 B
JavaScript
import Rails from '@rails/ujs';
|
|
|
|
export function start() {
|
|
require.context('../images/', true, /\.(jpg|png|svg)$/);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch (e) {
|
|
// If called twice
|
|
}
|
|
}
|