mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
delete unused files
This commit is contained in:
@@ -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;
|
||||
},
|
||||
})
|
||||
);
|
||||
};
|
||||
@@ -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');
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
export let versionData = {
|
||||
"shortSHA": "ad533866e",
|
||||
"SHA": "ad533866ec2e19ae04f0260bc17f06dc4aec8792",
|
||||
"shortSHA": "f7c78c0c3",
|
||||
"SHA": "f7c78c0c3cf5ad94ab6e5671f1036993ccb10dac",
|
||||
"branch": "developer",
|
||||
"lastCommitAuthor": "'Peter Maquiran'",
|
||||
"lastCommitTime": "'Wed Oct 23 14:34:33 2024 +0000'",
|
||||
"lastCommitMessage": "Merged in feature/chat-new-api-peter (pull request #35)\n\nFeature/chat new api peter",
|
||||
"lastCommitNumber": "6116",
|
||||
"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",
|
||||
"lastCommitTime": "'Wed Oct 23 15:46:02 2024 +0100'",
|
||||
"lastCommitMessage": "remove unused files",
|
||||
"lastCommitNumber": "6117",
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user