Spaces:
Sleeping
Sleeping
add method HEAD on /health
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def root():
|
|
| 88 |
}
|
| 89 |
}
|
| 90 |
|
| 91 |
-
@app.get("/health")
|
| 92 |
def health():
|
| 93 |
try:
|
| 94 |
# ๊ฐ๋จํ health ์ฒดํฌ - DB ์ฐ๊ฒฐ ์์ด ์๋ฒ ์ํ๋ง ํ์ธ
|
|
|
|
| 88 |
}
|
| 89 |
}
|
| 90 |
|
| 91 |
+
@app.get("/health", methods=["GET", "HEAD"])
|
| 92 |
def health():
|
| 93 |
try:
|
| 94 |
# ๊ฐ๋จํ health ์ฒดํฌ - DB ์ฐ๊ฒฐ ์์ด ์๋ฒ ์ํ๋ง ํ์ธ
|