Skip to content

Commit

Permalink
add ico extension to the default static file mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Park committed Apr 20, 2023
1 parent 2c6cf64 commit f624708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/static-hosting/lib/static-hosting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export interface ResponseHeaderMappings {
}

export class StaticHosting extends Construct {
private staticFiles = ["js", "css", "json", "svg", "jpg", "jpeg", "png", "gif"];
private staticFiles = ["js", "css", "json", "svg", "jpg", "jpeg", "png", "gif", "ico"];

constructor(scope: Construct, id: string, props: StaticHostingProps) {
super(scope, id);
Expand Down

0 comments on commit f624708

Please sign in to comment.