wipwipwip
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
],
|
||||
"macOS": {
|
||||
"signingIdentity": "6F3F957C06DE870B9A9F2CA8C2E762C6752AB2CB"
|
||||
}
|
||||
"macOS": {
|
||||
"signingIdentity": "6F3F957C06DE870B9A9F2CA8C2E762C6752AB2CB"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,8 @@ type BaseRequestParams = Partial<{
|
||||
method: "GET" | "POST";
|
||||
}>;
|
||||
|
||||
export const base = "https://haystack.johncosta.tech";
|
||||
// export const base = "https://haystack.johncosta.tech";
|
||||
export const base = "http://192.168.1.199:3040";
|
||||
|
||||
const getBaseRequest = ({ path, body, method }: BaseRequestParams): Request => {
|
||||
return new Request(`${base}/${path}`, {
|
||||
|
||||
@@ -83,6 +83,10 @@ export const Notifications = (onCompleteImage: () => void) => {
|
||||
|
||||
events.addEventListener("data", dataEventListener);
|
||||
|
||||
events.onerror = (e) => {
|
||||
console.error(e);
|
||||
};
|
||||
|
||||
onCleanup(() => {
|
||||
events.removeEventListener("data", dataEventListener);
|
||||
events.close();
|
||||
|
||||
Reference in New Issue
Block a user