Skip to content

Commit

Permalink
Add it to server as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Aug 29, 2024
1 parent e6fbe48 commit 78623a1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/services/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,14 +551,24 @@ export async function main() {
}
: null;

const artifactStorageReader = new ArtifactStorageReader(s3, s3Mirror, null);
const artifactStorageReader = new ArtifactStorageReader(s3, s3Mirror, null, null);

const artifactHandler = createArtifactRequestHandler({
isKeyValid: createIsKeyValid({
artifactStorageReader,
analytics: null,
breadcrumb(message: string) {
server.log.debug(message);
},
getCache: null,
waitUntil: null,
captureException(error) {
captureException(error, {
extra: {
source: 'artifactRequestHandler',
},
});
},
}),
artifactStorageReader,
isAppDeploymentActive: createIsAppDeploymentActive({
Expand Down

0 comments on commit 78623a1

Please sign in to comment.