Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/1Panel-dev/MaxKB
/ get_index_html
Function
get_index_html
apps/maxkb/urls/web.py:83–87 ·
view source on GitHub ↗
(index_path)
Source
from the content-addressed store, hash-verified
81
82
83
def
get_index_html(index_path):
84
file = open(index_path,
"r"
, encoding=
'utf-8'
)
85
content = file.read()
86
file.close()
87
return
content
88
89
90
def
get_all_files(directory):
Callers
1
page_not_found
Function · 0.85
Calls
3
read
Method · 0.80
open
Function · 0.50
close
Method · 0.45
Tested by
no test coverage detected