We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9058f commit b35560cCopy full SHA for b35560c
sources/platform/actors/running/actor_standby.md
@@ -83,7 +83,7 @@ import { Actor } from 'apify';
83
84
await Actor.init();
85
86
-const server = http.createServer(async (req, res) => {
+const server = http.createServer((req, res) => {
87
res.writeHead(200, { 'Content-Type': 'text/plain' });
88
res.end('Hello from Actor Standby!\n');
89
});
@@ -96,7 +96,7 @@ server.listen(Actor.config.get('standbyPort'));
96
97
```python
98
from http.server import HTTPServer, SimpleHTTPRequestHandler
99
-from apify import Actor, Configuration
+from apify import Actor
100
101
class GetHandler(SimpleHTTPRequestHandler):
102
def do_GET(self):
0 commit comments