mirror of
https://github.com/fastapi/fastapi.git
synced 2026-02-20 07:56:28 -05:00
🐛 Fix doctype in docs (#537)
This commit is contained in:
committed by
Sebastián Ramírez
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>
|
||||
|
||||
Reference in New Issue
Block a user