debian-mirror-gitlab/app/assets/javascripts/pages/projects/blame/show/index.js
2023-05-27 22:25:52 +05:30

10 lines
340 B
JavaScript

import initBlob from '~/pages/projects/init_blob';
import redirectToCorrectPage from '~/blame/blame_redirect';
import { renderBlamePageStreams } from '~/blame/streaming';
if (new URLSearchParams(window.location.search).get('streaming')) {
renderBlamePageStreams(window.blamePageStream);
} else {
redirectToCorrectPage();
}
initBlob();