diff --git a/examples/mashup/connect.js b/examples/mashup/connect.js index b2369fca7..274a78148 100644 --- a/examples/mashup/connect.js +++ b/examples/mashup/connect.js @@ -3,17 +3,17 @@ window.connect = function connect() { const createConnection = () => loadSchema().then(schema => window.enigma.create({ schema, - url: `ws://${window.location.hostname || 'localhost'}:19076/app/${Date.now()}`, + url: `ws://${window.location.hostname || 'localhost'}:9076/app/${Date.now()}`, }).open().then(qix => qix.createSessionApp())); return createConnection().then(app => app.setScript(` Characters: Load Chr(RecNo()+Ord('A')-1) as Alpha, RecNo() as Num autogenerate 26; - + ASCII: -Load +Load if(RecNo()>=65 and RecNo()<=90,RecNo()-64) as Num, - Chr(RecNo()) as AsciiAlpha, + Chr(RecNo()) as AsciiAlpha, RecNo() as AsciiNum autogenerate 85 Where (RecNo()>=65 and RecNo()<=126) or RecNo()>=160; diff --git a/examples/mashup/docker-compose.yml b/examples/mashup/docker-compose.yml index 26ccb09b9..f3a9c642a 100644 --- a/examples/mashup/docker-compose.yml +++ b/examples/mashup/docker-compose.yml @@ -2,8 +2,8 @@ version: "3.1" services: engine: - image: qlikcore/engine:${ENGINE_VERSION:-latest} + image: qlikcore/engine:${ENGINE_VERSION} restart: always command: -S AcceptEULA="${ACCEPT_EULA:-no}" ports: - - "19076:9076" + - "9076:9076" diff --git a/examples/mashup/index.html b/examples/mashup/index.html index cf2f07b13..1ee096887 100644 --- a/examples/mashup/index.html +++ b/examples/mashup/index.html @@ -3,8 +3,9 @@