1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Štěpán Henek
e468affc89 Merge branch 'feature/ws-included' into 'master'
Using socket.io for websocket handling and make reforis configurable

See merge request turris/reforis/foris-js!201
2023-01-31 12:01:33 +01:00
Stepan Henek
bb5177e858
Using socket.io for websocket handling and make reforis configurable
Socket.io wrapper is used to handle websockets now,
this means that websocket logic had to be redone.

Also it is necessary to set `REFORIS_PREFIX` env variable
during the build process. To set the path of backend url.
It was previously fixed to `/reforis`.
2023-01-31 11:15:52 +01:00
2 changed files with 10696 additions and 9584 deletions

20274
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@
"qrcode.react": "^1.0.1", "qrcode.react": "^1.0.1",
"react-datetime": "^3.2.0", "react-datetime": "^3.2.0",
"react-uid": "^2.2.0", "react-uid": "^2.2.0",
"socket.io-client": "^4.6.1" "socket.io-client": "4.4.1"
}, },
"peerDependencies": { "peerDependencies": {
"bootstrap": "4.4.1", "bootstrap": "4.4.1",
@ -46,7 +46,7 @@
"eslint-config-reforis": "^1.0.0", "eslint-config-reforis": "^1.0.0",
"eslint-plugin-prettier": "^3.1.4", "eslint-plugin-prettier": "^3.1.4",
"file-loader": "^6.0.0", "file-loader": "^6.0.0",
"jest": "^29.5.0", "jest": "^25.2.0",
"jest-mock-axios": "^3.2.0", "jest-mock-axios": "^3.2.0",
"moment-timezone": "^0.5.40", "moment-timezone": "^0.5.40",
"prettier": "2.0.5", "prettier": "2.0.5",
@ -54,7 +54,7 @@
"react": "16.9.0", "react": "16.9.0",
"react-dom": "16.9.0", "react-dom": "16.9.0",
"react-router-dom": "^5.3.4", "react-router-dom": "^5.3.4",
"react-styleguidist": "^13.1.1", "react-styleguidist": "^11.2.0",
"snapshot-diff": "^0.7.0", "snapshot-diff": "^0.7.0",
"style-loader": "^1.2.1", "style-loader": "^1.2.1",
"webpack": "^5.75.0" "webpack": "^5.75.0"