Skip to content

Commit

Permalink
Fix asset paths for pulumi.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez committed May 31, 2023
1 parent 78113ba commit c5cf4a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions ts/pulumi/im/shadwell/thomas/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import * as cert from 'ts/pulumi/im/shadwell/cert';

export const site = new staticwebsite.Website('thomas.shadwell.im', {
withCDN: true,
indexHTML: new asset.FileAsset(
'ts/pulumi/im/shadwell/thomas/public/index.html'
).path,
indexHTML: 'index.html',
sitePath: 'ts/pulumi/im/shadwell/thomas/public',
targetDomain: 'thomas.shadwell.im',
certificateARN: cert.arn,
Expand Down
4 changes: 2 additions & 2 deletions ts/pulumi/me/zemn/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export const arn = validation.certificateArn;

export const site = new staticwebsite.Website('staging.zemn.me', {
withCDN: true,
indexHTML: new asset.FileAsset('project/zemn.me/next/out/index.html').path,
error404: new asset.FileAsset('project/zemn.me/next/out/404.html').path,
indexHTML: 'index.html',
error404: '404.html',
sitePath: 'project/zemn.me/next/out',
targetDomain: 'staging.zemn.me',
certificateARN: arn,
Expand Down

0 comments on commit c5cf4a7

Please sign in to comment.