|
|
|
@ -28,7 +28,7 @@ if (isDev) {
|
|
|
|
|
}
|
|
|
|
|
debugType = window.location.search.indexOf('debug=t') != -1 ? 'teacher' :
|
|
|
|
|
window.location.search.indexOf('debug=s') != -1 ? 'student' :
|
|
|
|
|
window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || ''
|
|
|
|
|
window.location.search.indexOf('debug=a') != -1 ? 'admin' : parsed.debug || 'admin'
|
|
|
|
|
}
|
|
|
|
|
window._debugType = debugType;
|
|
|
|
|
export function initAxiosInterceptors(props) {
|
|
|
|
|