BUG修复
This commit is contained in:
Binary file not shown.
@@ -39,6 +39,7 @@ func main() {
|
||||
|
||||
http.Handle(contextPath+"/exec/", websocket.Handler(ExecContainer))
|
||||
httpDir := http.FileServer(http.Dir(*localPath))
|
||||
|
||||
//http.Handle(contextPath+"/", http.StripPrefix("/console/", http_dir))
|
||||
http.Handle(contextPath+"/", http.StripPrefix(contextPath+"/", httpDir))
|
||||
// 仅index.html
|
||||
|
||||
Reference in New Issue
Block a user