mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-20 14:42:58 -05:00
4c85fec993
Port 4c4bcad866f513f69d6ea74e5acfdf3fc5f469ff to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
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
|
|
}
|
|
}
|