diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-08-25 02:42:41 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-08-25 02:43:53 +0100 |
commit | a6bc364838d06dda56252c65f9d30c29effac992 (patch) | |
tree | 249e7341b193fac3c3ea6937f22ca2404fbfe504 | |
parent | d1e442b3752afa0b036b2480ee4f4bc8517aa85a (diff) | |
download | unit-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>
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | unit-wasm-conf.json | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -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", |