diff --git a/README.md b/README.md index 12e2a02..170bf8a 100644 --- a/README.md +++ b/README.md @@ -2411,8 +2411,8 @@ import json ### Run ```python -run(host='localhost', port=8080) -run(host='0.0.0.0', port=80, server='cherrypy') +run(host='localhost', port=8080) # Runs locally. +run(host='0.0.0.0', port=80, server='cherrypy') # Runs globally. ``` ### Static Request diff --git a/index.html b/index.html index 7f402f8..3a9a9ae 100644 --- a/index.html +++ b/index.html @@ -2076,8 +2076,8 @@ print(link, ver) import json -
run(host='localhost', port=8080)
-run(host='0.0.0.0', port=80, server='cherrypy')
+Run
run(host='localhost', port=8080) # Runs locally.
+run(host='0.0.0.0', port=80, server='cherrypy') # Runs globally.
Static Request
@route('/img/<image>')