mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-11 20:21:10 +00:00
13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
import Rails from '@rails/ujs';
|
|
|
|
export function start() {
|
|
// TODO: Find alternative to this
|
|
// require.context('../images/', true, /\.(jpg|png|svg)$/);
|
|
|
|
try {
|
|
Rails.start();
|
|
} catch {
|
|
// If called twice
|
|
}
|
|
}
|