Merge branch 'topic_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into topic_bank
commit
d4054d9128
File diff suppressed because one or more lines are too long
@ -1,3 +1,6 @@
|
|||||||
export function isDev() {
|
export function isDev() {
|
||||||
return window.location.port === "3007";
|
return window.location.port === "3007";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// const isMobile
|
||||||
|
export const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
Loading…
Reference in new issue