mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-11 23:19:03 +01:00
4c85fec993
Port 4c4bcad866
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
11 lines
190 B
JavaScript
11 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
|
|
}
|
|
}
|