mirror of https://github.com/tiangolo/fastapi.git
🐛 Fix doctype in docs (#537)
This commit is contained in:
parent
f8718072a0
commit
4cea311e6e
|
|
@ -17,7 +17,7 @@ def get_swagger_ui_html(
|
|||
) -> HTMLResponse:
|
||||
|
||||
html = f"""
|
||||
<! doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link type="text/css" rel="stylesheet" href="{swagger_css_url}">
|
||||
|
|
@ -104,7 +104,7 @@ def get_redoc_html(
|
|||
|
||||
def get_swagger_ui_oauth2_redirect_html() -> HTMLResponse:
|
||||
html = """
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<body onload="run()">
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue