Skip to content

Commit 86bd2d4

Browse files
authored
Update README.md
1 parent 6e70911 commit 86bd2d4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ same React code you would on the browser on Cloudflare Workers.
1212

1313
- `yarn preview`
1414

15+
#### Static hosting
16+
In order for this application to work, you'll have to be able to serve `/worker.js` from your own origin.
17+
This example uses terraform to upload the worker script to Google Cloud Storage, but you are welcome to
18+
use any other origin.
19+
- https://cloud.google.com/storage/docs/hosting-static-website
20+
1521
#### Terraform
1622
If you'd like to use terraform to upload your worker scripts, you'll need a
1723
vars file with the following variables

0 commit comments

Comments
 (0)