Code reorganization Update
This commit is contained in:
@@ -72,6 +72,10 @@ func (rt *Router) handleSimulationsPath(w http.ResponseWriter, r *http.Request)
|
||||
rt.RenameSimulation(w, r, idStr)
|
||||
return
|
||||
}
|
||||
if r.Method == "PUT" && action == "hardware" {
|
||||
rt.UpdateSimulationHardware(w, r, idStr)
|
||||
return
|
||||
}
|
||||
if r.Method == "POST" && action == "upload" {
|
||||
rt.UploadSimulationResource(w, r, idStr)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user