Skip to content

Commit

Permalink
quickfix: infra typo
Browse files Browse the repository at this point in the history
  • Loading branch information
geclos committed Sep 10, 2024
1 parent 471874b commit c3dcfb9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/infra/src/core/secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const mailerApiKey = createSecretWithVersion(
'MAILER_API_KEY',
'API key for the mailer service',
)
const sentryDns = createSecretWithVersion(
const sentryDsn = createSecretWithVersion(
'SENTRY_DSN',
'DSN for Sentry error tracking',
)
Expand All @@ -47,7 +47,7 @@ const awsAccessSecret = createSecretWithVersion(
)

export const mailerApiKeyArn = mailerApiKey.arn
export const sentryDnsArn = sentryDns.arn
export const sentryDsnArn = sentryDsn.arn
export const sentryOrgArn = sentryOrg.arn
export const sentryProjectArn = sentryProject.arn
export const awsAccessKeyArn = awsAccessKey.arn
Expand Down
7 changes: 7 additions & 0 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ const INTERNAL_PACKAGES = [
const nextConfig = {
output: 'standalone',
transpilePackages: INTERNAL_PACKAGES,
serverExternalPackages: [
'flydrive',
'flydrive/drivers/s3',
'flydrive/drivers/fs',
'flydrive/drivers/types',
'@sentry/nextjs',
],
experimental: {
// Dear developer,
//
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/lib/disk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export class DiskWrapper {
}

const awsConfig = getAwsConfig()

return new S3Driver({
credentials: awsConfig.credentials,
region: awsConfig.region,
Expand Down

0 comments on commit c3dcfb9

Please sign in to comment.