File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,9 @@ In the "Hello Raspberry Pi" example we used a single route:
106106
107107This route is page up of three parts:
108108
109- - ` @app.route(' /' )` : this determines the entry point; the ` /` means the root of the website, so just ` http://127.0.0.1:5000/` .
110- - ` def index ()` : this is the name we give to the route. Here it was called ` index` because it' s the index of the website.
111- - `return ' Hello world' `: this is the content of the web page which is returned when the user browses the index of the website.
109+ - ` @app.route(' /' )` : this determines the entry point; the ` /` means the root of the website, so just ` http://127.0.0.1:5000/` .
110+ - ` def index ()` : this is the name we give to the route. Here it was called ` index` because it' s the index of the website.
111+ - `return ' Hello world' `: this is the content of the web page which is returned when the user browses the index of the website.
112112
1131131. Create a new route by adding the following lines below the first route:
114114
You can’t perform that action at this time.
0 commit comments