zeus 3 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. 38
      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

38
src/store/modules/create_pipelineLLO.js

@ -113,17 +113,35 @@ export default {
}
},
async hotreload({commit,rootGetters}, value) {
var token = value.token
var params = {
swarmlabname: value.swarmlabname
try {
var token = value.token
var params = {
swarmlabname: value.swarmlabname
}
var options = {
headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` },
};
var p = await axios.post('https://api.swarmlab.io/swarmlabrunhotreload',params,options);
if(p.error == "invalid_token"){
console.log(p)
console.log(JSON.stringify(p))
}else{
}
//console.log(value.token)
//console.log(value.swarmlabname)
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'
}
var options = {
headers: { 'content-type': 'application/x-www-form-urlencoded',Authorization: `Bearer ${token}` },
};
var p = await axios.post('https://api.swarmlab.io/swarmlabrunhotreload',params,options);
console.log(value.token)
console.log(value.swarmlabname)
console.log(JSON.stringify(p))
return R;
}
}
},
setScriptllo({commit}, value) {
//console.log("container "+value)

Loading…
Cancel
Save