diff --git a/src/components/doclive/config.js b/src/components/doclive/config.js deleted file mode 100644 index ce1b0e1..0000000 --- a/src/components/doclive/config.js +++ /dev/null @@ -1,6 +0,0 @@ -var config = {}; - -//hardcoded token for testing -config.token = "c96e7fe836f9ffaf83e1fb7bc2b49819251057b0"; - -module.exports = config; diff --git a/src/components/doclive/runLlo.vue b/src/components/doclive/runLlo.vue index 6109f0d..ab59069 100644 --- a/src/components/doclive/runLlo.vue +++ b/src/components/doclive/runLlo.vue @@ -332,7 +332,7 @@ export default { async socketauthenticate() { var tokentmp = store.getters["pipelineLLO/gettoken"]; // pernaw hardcoded to token - var test = "c96e7fe836f9ffaf83e1fb7bc2b49819251057b0"; + var test = "cd2189ebbef3f0b43c5e73fac1cfb7e8cbe0d47c"; this.$socket.client.emit("authenticate", test); }, async socketreconnect() { @@ -423,7 +423,7 @@ export default { this.socketopen(); var logintoken = new URL(location.href).searchParams.get("token"); // hardcoded token - var hardtoken = "c96e7fe836f9ffaf83e1fb7bc2b49819251057b0"; + var hardtoken = "cd2189ebbef3f0b43c5e73fac1cfb7e8cbe0d47c"; var log = store.dispatch("pipelineLLO/settoken", { token: hardtoken, }); @@ -444,7 +444,7 @@ export default { sockets: { connect() { //hardtoken - var hardtoken = "c96e7fe836f9ffaf83e1fb7bc2b49819251057b0"; + var hardtoken = "cd2189ebbef3f0b43c5e73fac1cfb7e8cbe0d47c"; this.$socket.client.emit("authenticate", hardtoken); //this.$socket.client.emit("authenticate", "logintoken"); @@ -664,6 +664,11 @@ export default { async message(val) { console.log(" socket message " + JSON.stringify(val)); }, + async logsend(val) { + console.log(" socket message " + JSON.stringify(val)); + var log = val.log; + console.log(" LOG: " + JSON.parse(JSON.stringify(log))); + }, }, };