Skip to content

Commit

Permalink
docs: examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jayair committed Sep 17, 2024
1 parent 730b17c commit c422f06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/aws-router-bucket/sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import path from "path";

/**
* ## AWS Router and bucket
* ## Router and bucket
*
* Creates a router that serves static files from the `public` folder in a bucket.
* Creates a router that serves static files from the `public` folder of a given bucket.
*/
export default $config({
app(input) {
Expand Down
4 changes: 2 additions & 2 deletions www/src/content/docs/docs/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -767,9 +767,9 @@ View the [full example](https://github.com/sst/ion/tree/dev/examples/aws-queue).


---
## AWS Router and bucket
## Router and bucket

Creates a router that serves static files from the `public` folder in a bucket.
Creates a router that serves static files from the `public` folder of a given bucket.
```ts title="sst.config.ts"
// Create a bucket that CloudFront can access
const bucket = new sst.aws.Bucket("MyBucket", {
Expand Down

0 comments on commit c422f06

Please sign in to comment.