Johnny0619 commited on
Commit
b4156bb
·
verified ·
1 Parent(s): 744b810

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
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
- # 各種登録・福利厚生ガイド (/entry_info) - entry_info.html を表示
44
- @app.get("/entry_info")
 
 
 
 
 
 
 
 
 
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):