mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 17:49:03 +01:00
11 lines
191 B
JavaScript
11 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
|
|
}
|
|
}
|