File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ <h1 class="block-title display-1">Falcon</h1>
8787 < p > A Big Thank You to Our Project Patrons</ p >
8888
8989 < p >
90- < a href ="https://www.lambdatest.com/?utm_source=falcon&utm_medium=sponsor " target ="_blank "> < img src ="img/sponsors/lambdatest.png " height ="64 " alt ="LambdaTest " style =" margin-right: 10px " > </ a >
90+ < a href ="https://www.lambdatest.com/?utm_source=falcon&utm_medium=sponsor " target ="_blank "> < img src ="img/sponsors/lambdatest.png " height ="64 " alt ="LambdaTest "> </ a >
9191
9292 < a href ="https://www.govcert.lu/ " target ="_blank "> < img src ="img/sponsors/govcert.png " width ="220 " alt ="CERT Gouvernemental Luxembourg " style ="margin-right: 10px "> </ a >
9393
@@ -108,18 +108,13 @@ <h1 class="block-title display-1">Falcon</h1>
108108
109109
110110class QuoteResource:
111- def on_get(self, req, resp) :
111+ def on_get(self, req: falcon.Request , resp: falcon.Response) - > None :
112112 """Handle GET requests."""
113- quote = {
113+ resp.media = {
114+ 'quote': "I've always been more interested in the future than in the past.",
114115 'author': 'Grace Hopper',
115- 'quote': (
116- "I've always been more interested in "
117- "the future than in the past."
118- ),
119116 }
120117
121- resp.media = quote
122-
123118
124119app = falcon.App()
125120app.add_route('/quote', QuoteResource())</ code > </ pre >
Original file line number Diff line number Diff line change 11// ------------------------------------------------------
22// Content
33// ------------------------------------------------------
4- $content-max-width : 700 px ;
4+ $content-max-width : 896 px ;
55
66// ------------------------------------------------------
77// Colors
You can’t perform that action at this time.
0 commit comments