13 lines
290 B
JavaScript
13 lines
290 B
JavaScript
import './api/auth-api';
|
|
import './api/notifications-api';
|
|
import history from '@history';
|
|
import mock from './mock';
|
|
|
|
mock.onAny().passThrough();
|
|
|
|
if (module?.hot?.status() === 'apply') {
|
|
const { pathname } = history.location;
|
|
history.push('/loading');
|
|
history.push({ pathname });
|
|
}
|