Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Misc

Edward Cuibc02073fd5a8
diff --git a/server/src/index.ts b/server/src/index.ts
index 5eb9b7d8c..bfa53a558 100644
--- a/server/src/index.ts
+++ b/server/src/index.ts
@@ -460,7 +460,7 @@ const start = async () => {
weeklyReportService.startWeeklyReportCron();
}
- // Start the server
+ // Start the server first
await server.listen({ port: 3001, host: "0.0.0.0" });
server.log.info("Server is listening on http://0.0.0.0:3001");
diff --git a/server/src/services/storage/r2StorageService.ts b/server/src/services/storage/r2StorageService.ts
index 401453f28..87bf07df2 100644
--- a/server/src/services/storage/r2StorageService.ts
+++ b/server/src/services/storage/r2StorageService.ts
@@ -3,6 +3,7 @@ import {
PutObjectCommand,
GetObjectCommand,
DeleteObjectCommand,
+ GetObjectCommandOutput,
} from "@aws-sdk/client-s3";
import { NodeHttpHandler } from "@smithy/node-http-handler";
import { Readable } from "stream";