delete unused files

This commit is contained in:
Peter Maquiran
2024-10-23 15:47:37 +01:00
parent f7c78c0c3c
commit 08f68940dc
3 changed files with 6 additions and 52 deletions
-23
View File
@@ -1,23 +0,0 @@
const proxy = require("http-proxy-middleware");
module.exports = function (app) {
app.use(
proxy("/mfp/api/imfpush/", {
target: "http://gpr-dev-10.gabinetedigital.local:9080",
changeOrigin: true,
pathRewrite: function (path, req) {
return path.replace("/mfp/api", "");
},
})
);
app.use(
proxy("/mfp/api", {
target: "http://gpr-dev-10.gabinetedigital.local:9080",
changeOrigin: true,
pathRewrite: function (path, req) {
console.log("Rewrite in /mfp/api: ", path);
return path;
},
})
);
};
-23
View File
@@ -1,23 +0,0 @@
// src/shared-worker.js
self.onconnect = function (event) {
const port = event.ports[0];
port.onmessage = function (e) {
const message = e.data;
console.log('Received from client:', message);
// Echo the message back to all connected clients
port.postMessage('Echo: ' + message);
}
// Optional: broadcast messages to all connected clients
function broadcast(message) {
self.clients.forEach(client => {
client.postMessage(message);
});
}
// Example of broadcasting a message
broadcast('Shared Worker connected');
}
+6 -6
View File
@@ -1,11 +1,11 @@
export let versionData = { export let versionData = {
"shortSHA": "ad533866e", "shortSHA": "f7c78c0c3",
"SHA": "ad533866ec2e19ae04f0260bc17f06dc4aec8792", "SHA": "f7c78c0c3cf5ad94ab6e5671f1036993ccb10dac",
"branch": "developer", "branch": "developer",
"lastCommitAuthor": "'Peter Maquiran'", "lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Wed Oct 23 14:34:33 2024 +0000'", "lastCommitTime": "'Wed Oct 23 15:46:02 2024 +0100'",
"lastCommitMessage": "Merged in feature/chat-new-api-peter (pull request #35)\n\nFeature/chat new api peter", "lastCommitMessage": "remove unused files",
"lastCommitNumber": "6116", "lastCommitNumber": "6117",
"changeStatus": "On branch developer\nYour branch is up to date with 'origin/developer'.\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tdeleted: src/combined-sw.js", "changeStatus": "On branch developer\nYour branch is ahead of 'origin/developer' by 1 commit.\n (use \"git push\" to publish your local commits)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tdeleted: src/setupProxy.js\n\tdeleted: src/shared-worker.js\n\tmodified: version/git-version.ts",
"changeAuthor": "peter.maquiran" "changeAuthor": "peter.maquiran"
} }