@@ -1,5 +1,6 @@
package config
var (
- Filtersuffixes = []string{"map.pgm", "map.yaml", "map.json", "forbid_area.json"}
+ MapBufFiltersuffixes = []string{"map.pgm", "map.yaml", "map.json", "forbid_area.json"}
+ OriginMapFiltersuffixes = []string{"map.pgm", "map.yaml"}
)
@@ -25,5 +25,6 @@ func customizedRegister(r *server.Hertz) {
r.GET("/map/downloadmapbagfile", map_service.DownLoadMapBagFile)
r.GET("/world/uploadworldfile", world_service.UploadWorldFile)
+ r.POST("/world/uploadworldfile", world_service.UploadWorldFile)
}