zeus 4 years ago
parent
commit
122cd169eb
  1. 2
      dist/index.html
  2. 2
      dist/js/app.58e9fd7d.js
  3. 1
      dist/js/app.58e9fd7d.js.map
  4. 2
      dist/js/app.b1a409c9.js
  5. 1
      dist/js/app.b1a409c9.js.map
  6. 22
      src/store/modules/create_pipelineLLO.js

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.db8c7749.css" rel="preload" as="style"><link href="/css/chunk-vendors.b18a2804.css" rel="preload" as="style"><link href="/js/app.58e9fd7d.js" rel="preload" as="script"><link href="/js/chunk-vendors.fc18ea21.js" rel="preload" as="script"><link href="/css/chunk-vendors.b18a2804.css" rel="stylesheet"><link href="/css/app.db8c7749.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.fc18ea21.js"></script><script src="/js/app.58e9fd7d.js"></script></body></html> <!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.db8c7749.css" rel="preload" as="style"><link href="/css/chunk-vendors.b18a2804.css" rel="preload" as="style"><link href="/js/app.b1a409c9.js" rel="preload" as="script"><link href="/js/chunk-vendors.fc18ea21.js" rel="preload" as="script"><link href="/css/chunk-vendors.b18a2804.css" rel="stylesheet"><link href="/css/app.db8c7749.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.fc18ea21.js"></script><script src="/js/app.b1a409c9.js"></script></body></html>

2
dist/js/app.58e9fd7d.js

File diff suppressed because one or more lines are too long

1
dist/js/app.58e9fd7d.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.b1a409c9.js

File diff suppressed because one or more lines are too long

1
dist/js/app.b1a409c9.js.map

File diff suppressed because one or more lines are too long

22
src/store/modules/create_pipelineLLO.js

@ -113,6 +113,7 @@ export default {
} }
}, },
async hotreload({commit,rootGetters}, value) { async hotreload({commit,rootGetters}, value) {
try {
var token = value.token var token = value.token
var params = { var params = {
swarmlabname: value.swarmlabname swarmlabname: value.swarmlabname
@ -121,9 +122,26 @@ export default {
headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` }, headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` },
}; };
var p = await axios.post('https://api.swarmlab.io/swarmlabrunhotreload',params,options); var p = await axios.post('https://api.swarmlab.io/swarmlabrunhotreload',params,options);
console.log(value.token) if(p.error == "invalid_token"){
console.log(value.swarmlabname) console.log(p)
console.log(JSON.stringify(p))
}else{
}
//console.log(value.token)
//console.log(value.swarmlabname)
console.log(JSON.stringify(p)) console.log(JSON.stringify(p))
} catch (e) {
if(e.message == "Request failed with status code 401" || /401/i.test(e.message)){
//console.log('error '+JSON.stringify(e))
window.location.href = 'https://api-login.swarmlab.io:8089';
}else{
var R = {
ERROR_str: e,
ERROR: 'yes'
}
return R;
}
}
}, },
setScriptllo({commit}, value) { setScriptllo({commit}, value) {
//console.log("container "+value) //console.log("container "+value)

Loading…
Cancel
Save