Skip to content

Commit 2a53d55

Browse files
committed
Web
1 parent 25efe78 commit 2a53d55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2409,8 +2409,8 @@ import json
24092409

24102410
### Run
24112411
```python
2412-
run(host='localhost', port=8080) # Runs locally.
2413-
run(host='0.0.0.0', port=80, server='cherrypy') # Runs globally.
2412+
run(host='localhost', port=8080) # Runs locally.
2413+
run(host='0.0.0.0', port=80) # Runs globally.
24142414
```
24152415

24162416
### Static Request

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,8 +2075,8 @@
20752075
<span class="hljs-keyword">import</span> json
20762076
</code></pre></div>
20772077

2078-
<div><h3 id="run">Run</h3><pre><code class="python language-python hljs">run(host=<span class="hljs-string">'localhost'</span>, port=<span class="hljs-number">8080</span>) <span class="hljs-comment"># Runs locally.</span>
2079-
run(host=<span class="hljs-string">'0.0.0.0'</span>, port=<span class="hljs-number">80</span>, server=<span class="hljs-string">'cherrypy'</span>) <span class="hljs-comment"># Runs globally.</span>
2078+
<div><h3 id="run">Run</h3><pre><code class="python language-python hljs">run(host=<span class="hljs-string">'localhost'</span>, port=<span class="hljs-number">8080</span>) <span class="hljs-comment"># Runs locally.</span>
2079+
run(host=<span class="hljs-string">'0.0.0.0'</span>, port=<span class="hljs-number">80</span>) <span class="hljs-comment"># Runs globally.</span>
20802080
</code></pre></div>
20812081

20822082
<div><h3 id="staticrequest">Static Request</h3><pre><code class="python language-python hljs"><span class="hljs-meta">@route('/img/&lt;image&gt;')</span>

0 commit comments

Comments
 (0)