...
 
Commits (2)
......@@ -11,6 +11,6 @@ myOwn.wScreens.proc.result.setToken=function(result, div){
div.innerText='El token para el usuario ' + result.usuario + ' y la tarea "' + result.tarea + '" es '+result.token + '. Redirigiendo a la app...';
div.style.backgroundColor = '#5F5';
setTimeout(function(){
window.location.href = 'webapp';
window.location.href = 'webapp/';
},1500);
};
\ No newline at end of file
......@@ -24,7 +24,7 @@ class AppPointCollector extends backendPlus.AppBackend{
var optsGenericForFiles={
allowedExts:['', 'js', 'html', 'css', 'jpg', 'jpeg', 'png', 'ico', 'gif', 'eot', 'svg', 'ttf', 'woff', 'woff2', 'appcache']
}
mainApp.use(baseUrl+'/webapp',serveContent(be.rootPath+'/webapp',optsGenericForFiles));
mainApp.use(baseUrl+'/webapp/',serveContent(be.rootPath+'/webapp/',optsGenericForFiles));
mainApp.post(baseUrl+'/save/positions',function(req,res){
var result = {};
var client = null;
......@@ -179,7 +179,7 @@ class AppPointCollector extends backendPlus.AppBackend{
getMenu(context){
return {menu:[
{menuType:'menu', name:'recolector', selectedByDefault:true, menuContent:[
{menuType:'path', name:'app', path:'/webapp'},
{menuType:'path', name:'app', path:'/webapp/'},
{menuType:'proc', name:'obtener/token', label:'token'},
]},
{menuType:'menu', name:'administrar', menuContent:[
......