Skip to content

Commit

Permalink
Use the same port for all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jun 11, 2016
1 parent f901884 commit fdcf679
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Sappy is a simple, single-page application (SPA) web server for end-to-end testi
The Python standard library includes a web server that works great for serving up files:

```
$ python3 -m http.server 8000
Serving HTTP on 0.0.0.0 port 8000 ...
$ python3 -m http.server 8080
Serving HTTP on 0.0.0.0 port 8080 ...
$ curl http://localhost:8000/index.html
$ curl http://localhost:1234/index.html
<!DOCTYPE html>
<html>
<head>
Expand All @@ -21,7 +21,7 @@ $ curl http://localhost:8000/index.html
But when used to serve up single-page applications, a `404` is returned whenever any page other than the index is accessed directly:

```
$ curl http://localhost:8000/login
$ curl http://localhost:8080/login
<!DOCTYPE html>
<html lang=en>
<title>Error 404 (Not Found)</title
Expand Down

0 comments on commit fdcf679

Please sign in to comment.