mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
12 lines
190 B
JavaScript
12 lines
190 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
|
|
}
|
|
}
|