Commit 7665fda
authored
Fix UserWarning on Flask 2.2.0 (#500)
Flask 2.2.0 issues a warning if a url rule is added to a blueprint after it
has been registered, so this commit ensures that the documentation rules
are added before the blueprint is registered.
Fixes: #485
Signed-off-by: Jonathan Dieter <jonathan.dieter@spearline.com>
Signed-off-by: Jonathan Dieter <jonathan.dieter@spearline.com>1 parent f6709d9 commit 7665fda
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
232 | 234 | | |
233 | 235 | | |
234 | 236 | | |
| |||
245 | 247 | | |
246 | 248 | | |
247 | 249 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | 250 | | |
252 | 251 | | |
253 | 252 | | |
| |||
0 commit comments