Browse Source

fix error

master
zeus 3 years ago
parent
commit
f4c8d8318e
  1. 2
      dist/index.html
  2. 2
      dist/js/app.08e14541.js
  3. 1
      dist/js/app.08e14541.js.map
  4. 2
      dist/js/app.b0443b5f.js
  5. 1
      dist/js/app.b0443b5f.js.map
  6. 6
      src/components/mynetwork/mytable.vue
  7. 14
      src/config/index-editor.js
  8. 28
      src/config/index-web.js

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><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.25658f84.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.b0443b5f.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.25658f84.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.b0443b5f.js"></script></body></html> <!DOCTYPE html><html lang=""><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.25658f84.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.08e14541.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.25658f84.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.08e14541.js"></script></body></html>

2
dist/js/app.08e14541.js

File diff suppressed because one or more lines are too long

1
dist/js/app.08e14541.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.b0443b5f.js

File diff suppressed because one or more lines are too long

1
dist/js/app.b0443b5f.js.map

File diff suppressed because one or more lines are too long

6
src/components/mynetwork/mytable.vue

@ -1000,9 +1000,9 @@ if(pocurlcodeserver != 'no'){
// --------------- // ---------------
if(obWEB.hasOwnProperty('app2')){ if(obWEB.hasOwnProperty('app2')){
if(obWEB.app2){ if(obWEB.app2){
var swarmlabinstance1cda1s1bapp2 = new RegExp(obWEB.port1); var swarmlabinstance1cda1s1bapp2 = new RegExp(obWEB.port2);
if(swarmlabinstance1cda1s1bapp2.test(splitcda1split[i1])){ if(swarmlabinstance1cda1s1bapp2.test(splitcda1split[i1])){
//console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1])); console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1]));
var splitcda1bcapp2 = splitcda1split[i1].split(':') var splitcda1bcapp2 = splitcda1split[i1].split(':')
var splitcd1a1bcapp2 = splitcda1bcapp2[1].split('-') var splitcd1a1bcapp2 = splitcda1bcapp2[1].split('-')
pocurletherpadservertapp2 = obWEB.url2+'://localhost:'+splitcd1a1bcapp2[0]+'/?token='+this.token pocurletherpadservertapp2 = obWEB.url2+'://localhost:'+splitcd1a1bcapp2[0]+'/?token='+this.token
@ -1015,7 +1015,7 @@ if(pocurlcodeserver != 'no'){
// --------------- // ---------------
if(obWEB.hasOwnProperty('app3')){ if(obWEB.hasOwnProperty('app3')){
if(obWEB.app3){ if(obWEB.app3){
var swarmlabinstance1cda1s1bapp3 = new RegExp(obWEB.port1); var swarmlabinstance1cda1s1bapp3 = new RegExp(obWEB.port3);
if(swarmlabinstance1cda1s1bapp3.test(splitcda1split[i1])){ if(swarmlabinstance1cda1s1bapp3.test(splitcda1split[i1])){
//console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1])); //console.log('stringify--------- ' + JSON.stringify(splitcda1split[i1]));
var splitcda1bcapp3 = splitcda1split[i1].split(':') var splitcda1bcapp3 = splitcda1split[i1].split(':')

14
src/config/index-editor.js

@ -112,5 +112,19 @@ export const ApiConfigEDIT = [
"url": 'http', "url": 'http',
"version": 0, "version": 0,
"port": 0 "port": 0
},
{
"name": "microservice-phpcli",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
},
{
"name": "microservice-phpapache",
"automated": true,
"url": 'http',
"version": 0,
"port": 0
} }
]; ];

28
src/config/index-web.js

@ -438,5 +438,33 @@ export const ApiConfigWEB = [
"ttyd": true, "ttyd": true,
"ttydport": "3787/tcp", "ttydport": "3787/tcp",
"ttydurl": 'http' "ttydurl": 'http'
},
{
"name": "microservice-phpcli",
"large": 'no',
"app": false,
"url": 'http',
"port": "8080/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http'
},
{
"name": "microservice-phpapache",
"large": 'no',
"app": false,
"url": 'http',
"port": "80/tcp",
"ttyd": true,
"ttydport": "3787/tcp",
"ttydurl": 'http',
"app2": true,
"link2": 'Click to run your PHP code over https',
"url2": 'https',
"port2": "443/tcp",
"app1": true,
"link1": 'Click to run your PHP code over http',
"url1": 'http',
"port1": "80/tcp"
} }
]; ];

Loading…
Cancel
Save