summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--unit-wasm-conf.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 0bb6814..fd5af73 100644
--- a/README.md
+++ b/README.md
@@ -269,7 +269,7 @@ Create the following Unit config
"uri": "/rust-echo*"
},
"action": {
- "pass": "applications/rust-echo-test"
+ "pass": "applications/rust-echo-request"
}
},
{
@@ -301,9 +301,9 @@ Create the following Unit config
"request_end_handler": "luw_request_end_handler",
"response_end_handler": "luw_response_end_handler"
},
- "rust-echo-test": {
+ "rust-echo-request": {
"type": "wasm",
- "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_test.wasm",
+ "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_request.wasm",
"request_handler": "luw_request_handler",
"malloc_handler": "luw_malloc_handler",
"free_handler": "luw_free_handler",
diff --git a/unit-wasm-conf.json b/unit-wasm-conf.json
index fe997b3..3cb7267 100644
--- a/unit-wasm-conf.json
+++ b/unit-wasm-conf.json
@@ -33,7 +33,7 @@
"uri": "/rust-echo*"
},
"action": {
- "pass": "applications/rust-echo-test"
+ "pass": "applications/rust-echo-request"
}
},
{
@@ -65,9 +65,9 @@
"request_end_handler": "luw_request_end_handler",
"response_end_handler": "luw_response_end_handler"
},
- "rust-echo-test": {
+ "rust-echo-request": {
"type": "wasm",
- "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_test.wasm",
+ "module": "/path/to/unit-wasm/examples/rust/echo-request/target/wasm32-wasi/debug/rust_echo_request.wasm",
"request_handler": "luw_request_handler",
"malloc_handler": "luw_malloc_handler",
"free_handler": "luw_free_handler",