mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Latest updates; set process stuff to make prometheus happy
This commit is contained in:
@@ -26,6 +26,17 @@ self.addEventListener('install', function(event) {
|
|||||||
|
|
||||||
self.addEventListener('activate', function(event) {
|
self.addEventListener('activate', function(event) {
|
||||||
console.log("SW activated")
|
console.log("SW activated")
|
||||||
|
global.process = {
|
||||||
|
pid: 1,
|
||||||
|
env: {
|
||||||
|
DEBUG: "*",
|
||||||
|
}
|
||||||
|
};
|
||||||
|
global.fs.stat = function(path, cb) {
|
||||||
|
cb({
|
||||||
|
code: "EINVAL",
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
locateFile: filename => `${bundle_path}/../../sql-wasm.wasm`
|
locateFile: filename => `${bundle_path}/../../sql-wasm.wasm`
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user