removed old handle config func

This commit is contained in:
MrStashley 2024-03-11 12:10:01 -07:00
parent dd2d80475c
commit 6df7a79ea0

View File

@ -619,12 +619,6 @@ func HandleReadFile(w http.ResponseWriter, r *http.Request) {
}
}
func HandleConfig(w http.ResponseWriter, r *http.Request) {
filePath := r.URL.Path
fullPath := path.Join(scbase.GetWaveHomeDir(), filePath)
http.ServeFile(w, r, fullPath)
}
func WriteJsonError(w http.ResponseWriter, errVal error) {
w.Header().Set(ContentTypeHeaderKey, ContentTypeJson)
w.WriteHeader(200)