Skip to content

Commit

Permalink
Is it the port ?
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-oscarsson committed Sep 28, 2023
1 parent 9b433cd commit 1380f7e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mxcube3/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def run(cfg):

if ssl_context:
Server.flask_socketio.run(
Server.flask, ssl_context=ssl_context, host="0.0.0.0", port=8081
Server.flask, ssl_context=ssl_context, host="0.0.0.0", port=8888
)
else:
Server.flask_socketio.run(Server.flask, host="0.0.0.0", port=8081)
Server.flask_socketio.run(Server.flask, host="0.0.0.0", port=8888)
2 changes: 1 addition & 1 deletion ui/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { defineConfig } = require('cypress');

module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:8081',
baseUrl: 'http://localhost:8888',
supportFile: 'cypress/support.js',
screenshotsFolder: 'cypress/debug',
},
Expand Down
4 changes: 2 additions & 2 deletions ui/src/setupProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ module.exports = function (app) {
app.use(
'/mxcube/api',
createProxyMiddleware({
target: 'http://127.0.0.1:8081',
target: 'http://127.0.0.1:8888',
ws: false,
}),
);
app.use(
'/socket.io/*',
createProxyMiddleware({
target: 'http://127.0.0.1:8081',
target: 'http://127.0.0.1:8888',
ws: false,
}),
);
Expand Down

0 comments on commit 1380f7e

Please sign in to comment.