feat: os-dependent default entrypoint

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2020-12-23 18:44:11 +01:00
parent 0c16b5472f
commit e72c65c859
7 changed files with 23 additions and 8 deletions
+4
View File
@@ -132,6 +132,10 @@ func addRoute(res http.ResponseWriter, req *http.Request) {
return
}
if route.Entrypoint == "" {
route.Entrypoint = defaultEntrypoint
}
route.ID = id.String()
created := funcAdd(route)