Hey , I made a simple webserver by basically copy pasting from the docs. But I cant reach the website. Any Idea what might be going on here?
The console gives no errors at all. All I get is: [04:29:07 INFO]: Webserver at port 8081 started.
type: command
debug: true
name: serverstart
description: Start Server
usage: /serverstart
script:
- webserver start port:8081
webserverend:
type: command
debug: true
name: serverend
description: Stop Server
usage: /serverend
script:
- webserver stop port:8081
web_server:
type: world
debug: true
data:
index:
- <!DOCTYPE html>
- <html><head><title>Welcome to my site</title></head>
- <body><h1>Hi!</h1></body></html>
events:
on webserver web request port:8081 path:/|/index|/index.html method:get:
- determine code:200 passively
- determine headers:[Content-Type=text/html] passively
- determine raw_text_content:<script.data_key[data.index].separated_by[<n>]>