From 2a53d5583a140f089d3f0929dbeee41ff350bc1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 11 Dec 2019 13:04:40 +0100 Subject: [PATCH] Web --- README.md | 4 ++-- index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c022701..2b36130 100644 --- a/README.md +++ b/README.md @@ -2409,8 +2409,8 @@ import json ### Run ```python -run(host='localhost', port=8080) # Runs locally. -run(host='0.0.0.0', port=80, server='cherrypy') # Runs globally. +run(host='localhost', port=8080) # Runs locally. +run(host='0.0.0.0', port=80) # Runs globally. ``` ### Static Request diff --git a/index.html b/index.html index 2a2638f..104a56b 100644 --- a/index.html +++ b/index.html @@ -2075,8 +2075,8 @@ print(link, ver) import json -

Run

run(host='localhost', port=8080)                 # Runs locally.
-run(host='0.0.0.0', port=80, server='cherrypy')  # Runs globally.
+

Run

run(host='localhost', port=8080)        # Runs locally.
+run(host='0.0.0.0', port=80)            # Runs globally.
 

Static Request

@route('/img/<image>')