remove all wss
This commit is contained in:
parent
13201259cf
commit
0b7b2660de
@ -121,6 +121,7 @@ const WebSocket = require("ws");
|
|||||||
let isSend = false;
|
let isSend = false;
|
||||||
let sendInterval;
|
let sendInterval;
|
||||||
|
|
||||||
|
/*
|
||||||
fastify.register(async function (fastify) {
|
fastify.register(async function (fastify) {
|
||||||
fastify.get("/realtime-data", { websocket: true }, (connection, req) => {
|
fastify.get("/realtime-data", { websocket: true }, (connection, req) => {
|
||||||
// Send a welcome message to the client
|
// Send a welcome message to the client
|
||||||
@ -392,6 +393,7 @@ fastify.register(async function (fastify) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
// Function to start the server
|
// Function to start the server
|
||||||
function startServer() {
|
function startServer() {
|
||||||
|
|||||||
9
fastify/package-lock.json
generated
9
fastify/package-lock.json
generated
@ -11,7 +11,7 @@
|
|||||||
"blob-util": "^2.0.2",
|
"blob-util": "^2.0.2",
|
||||||
"cheerio": "^1.0.0-rc.12",
|
"cheerio": "^1.0.0-rc.12",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"fastify": "^4.26.0",
|
"fastify": "^4.28.1",
|
||||||
"got": "^11.8.3",
|
"got": "^11.8.3",
|
||||||
"https": "^1.0.0",
|
"https": "^1.0.0",
|
||||||
"mixpanel": "^0.18.0",
|
"mixpanel": "^0.18.0",
|
||||||
@ -863,9 +863,9 @@
|
|||||||
"integrity": "sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw=="
|
"integrity": "sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw=="
|
||||||
},
|
},
|
||||||
"node_modules/fastify": {
|
"node_modules/fastify": {
|
||||||
"version": "4.27.0",
|
"version": "4.28.1",
|
||||||
"resolved": "https://registry.npmjs.org/fastify/-/fastify-4.27.0.tgz",
|
"resolved": "https://registry.npmjs.org/fastify/-/fastify-4.28.1.tgz",
|
||||||
"integrity": "sha512-ci9IXzbigB8dyi0mSy3faa3Bsj0xWAPb9JeT4KRzubdSb6pNhcADRUaXCBml6V1Ss/a05kbtQls5LBmhHydoTA==",
|
"integrity": "sha512-kFWUtpNr4i7t5vY2EJPCN2KgMVpuqfU4NjnJNCgiNB900oiDeYqaNDRcAfeBbOF5hGixixxcKnOU4KN9z6QncQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@ -876,6 +876,7 @@
|
|||||||
"url": "https://opencollective.com/fastify"
|
"url": "https://opencollective.com/fastify"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/ajv-compiler": "^3.5.0",
|
"@fastify/ajv-compiler": "^3.5.0",
|
||||||
"@fastify/error": "^3.4.0",
|
"@fastify/error": "^3.4.0",
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
"blob-util": "^2.0.2",
|
"blob-util": "^2.0.2",
|
||||||
"cheerio": "^1.0.0-rc.12",
|
"cheerio": "^1.0.0-rc.12",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"fastify": "^4.26.0",
|
"fastify": "^4.28.1",
|
||||||
"got": "^11.8.3",
|
"got": "^11.8.3",
|
||||||
"https": "^1.0.0",
|
"https": "^1.0.0",
|
||||||
"mixpanel": "^0.18.0",
|
"mixpanel": "^0.18.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user