From 772bb346d2fea3143c6b2ecd1067f7cde49f113d Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Fri, 8 Oct 2021 09:11:39 +0100 Subject: [PATCH] Update add-runtime.md --- docs/tutorials/add-runtime.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/add-runtime.md b/docs/tutorials/add-runtime.md index 7cd30ac03..d446c18d5 100644 --- a/docs/tutorials/add-runtime.md +++ b/docs/tutorials/add-runtime.md @@ -67,8 +67,8 @@ Initialize a web server which runs on port 3000 and uses any IP Address (0.0.0.0 2. Decode the executor's JSON POST request. This normally looks like so: ```json { - "path": "/usr/code", // Disregard for Compiled Languages - "file": "index.js", // Disregard for Compiled Languages + "path": "/usr/code", + "file": "index.js", "env": { "hello":"world!" }, @@ -76,7 +76,7 @@ Initialize a web server which runs on port 3000 and uses any IP Address (0.0.0.0 "timeout": 10 } ``` -For a compiled language you can disregard the `path` and `file` attribute if you like, +For a compiled language you can disregard the `path` and `file` attribute if you like, `timeout` is also an optional parameter to deal with, if you can handle it please do. Otherwise it doesn't matter since the connection will simply be dropped by the executor.