This commit is contained in:
arturo
2018-11-12 18:43:21 -06:00
parent 88db8dbb13
commit 021a931407
9 changed files with 97 additions and 25 deletions
+3 -4
View File
@@ -1,9 +1,8 @@
const api = {}
api.url = 'http://63903cda.ngrok.io'
// api.url = 'http://09e6c379.ngrok.io'
api.url = 'http://venus.acatlan.unam.mx:3010'
api.isAuth = function () {
console.log('hola')
if (window.localStorage.pcpumaT && window.localStorage.pcpumaU) {
return true
}
@@ -14,4 +13,4 @@ api.exit = function () {
window.localStorage.usuario = null
}
module.exports = api
export default api