mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 09:34:16 -05:00
a27f7f4e56
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renaud Chaput <renchap@gmail.com>
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
import Rails from '@rails/ujs';
|
|
|
|
export function start() {
|
|
require.context('../images/', true, /\.(jpg|png|svg)$/);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch {
|
|
// If called twice
|
|
}
|
|
}
|