summaryrefslogtreecommitdiffhomepage
path: root/unit-wasm-conf.json
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-25 02:42:41 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-25 02:43:53 +0100
commita6bc364838d06dda56252c65f9d30c29effac992 (patch)
tree249e7341b193fac3c3ea6937f22ca2404fbfe504 /unit-wasm-conf.json
parentd1e442b3752afa0b036b2480ee4f4bc8517aa85a (diff)
downloadunit-wasm-a6bc364838d06dda56252c65f9d30c29effac992.tar.gz
unit-wasm-a6bc364838d06dda56252c65f9d30c29effac992.tar.bz2
README, conf: Use correct Rust echo-request name
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'unit-wasm-conf.json')
-rw-r--r--unit-wasm-conf.json6
1 files changed, 3 insertions, 3 deletions
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",