Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,8 +40,17 @@ async def read_bussiness_portal(username: str = Depends(authenticate)):
|
|
| 40 |
else:
|
| 41 |
return f"{file_path}が見つかりません。"
|
| 42 |
|
| 43 |
-
# 各種登録・福利厚生ガイド (/
|
| 44 |
-
@app.get("/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
async def read_entry_info(username: str = Depends(authenticate)):
|
| 46 |
file_path = 'entry_info.html'
|
| 47 |
if os.path.exists(file_path):
|
|
|
|
| 40 |
else:
|
| 41 |
return f"{file_path}が見つかりません。"
|
| 42 |
|
| 43 |
+
# 各種登録・福利厚生ガイド (/entry_info04) - entry_info04.html を表示
|
| 44 |
+
@app.get("/entry_info04")
|
| 45 |
+
async def read_entry_info(username: str = Depends(authenticate)):
|
| 46 |
+
file_path = 'entry_info.html'
|
| 47 |
+
if os.path.exists(file_path):
|
| 48 |
+
return FileResponse(file_path)
|
| 49 |
+
else:
|
| 50 |
+
return f"{file_path}が見つかりません。"
|
| 51 |
+
|
| 52 |
+
# 各種登録・福利厚生ガイド (/entry_info04) - entry_info04.html を表示
|
| 53 |
+
@app.get("/guide")
|
| 54 |
async def read_entry_info(username: str = Depends(authenticate)):
|
| 55 |
file_path = 'entry_info.html'
|
| 56 |
if os.path.exists(file_path):
|