Skip to content

Commit

Permalink
Merge pull request #1087 from tpmccallum/spin-2-1
Browse files Browse the repository at this point in the history
Spin v2.1.0 Documentation
  • Loading branch information
dicej authored Dec 14, 2023
2 parents a5550f5 + b3d4572 commit 500e16a
Show file tree
Hide file tree
Showing 17 changed files with 930 additions and 57 deletions.
4 changes: 2 additions & 2 deletions content/cloud/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ component = "hello-rust"

[component.hello-rust]
source = "target/wasm32-wasi/release/hello_rust.wasm"
allowed_http_hosts = []
allow_outbound_hosts = []
[component.hello-rust.build]
command = "cargo build --target wasm32-wasi --release"
watch = ["src/**/*.rs", "Cargo.toml"]
Expand Down Expand Up @@ -407,7 +407,7 @@ component = "hello-go"

[component.hello-go]
source = "main.wasm"
allowed_http_hosts = []
allow_outbound_hosts = []
[component.hello-go.build]
command = "tinygo build -target=wasi -gc=leaking -no-debug -o main.wasm main.go"
watch = ["**/*.go", "go.mod"]
Expand Down
2 changes: 2 additions & 0 deletions content/cloud/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ The following are the quota for users based, stratified by the three [Subscripti
| **Regions** |
| Region count| 1 | 1 | Contact us

> Note: The above quota numbers are per month and are spread across all apps for a single Cloud account.
## Known Limitations

### Fermyon Cloud Limitations
Expand Down
2 changes: 1 addition & 1 deletion content/cloud/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ secret = { required = true }

[component.pw-checker]
source = "target/wasm32-wasi/release/pw_checker.wasm"
allowed_http_hosts = []
allow_outbound_hosts = []

[component.pw-checker.build]
command = "cargo build --target wasm32-wasi --release"
Expand Down
2 changes: 1 addition & 1 deletion content/spin/v2/ai-sentiment-analysis-api-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ component = "sentiment-analysis-rust"

[component.sentiment-analysis-rust]
source = "target/wasm32-wasi/release/sentiment_analysis_rust.wasm"
allowed_http_hosts = []
allow_outbound_hosts = []
ai_models = ["llama2-chat"]
key_value_stores = ["default"]
[component.sentiment-analysis-rust.build]
Expand Down
Loading

0 comments on commit 500e16a

Please sign in to comment.