Browse Source

fix: add subpath

Yeuoly 9 months ago
parent
commit
0c5eac1897
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/server/http_server.go

+ 1 - 1
internal/server/http_server.go

@@ -117,7 +117,7 @@ func (app *App) pluginManagementGroup(group *gin.RouterGroup, config *app.Config
 	group.POST("/install/identifiers", controllers.InstallPluginFromIdentifiers(config))
 	group.GET("/install/tasks/:id", controllers.FetchPluginInstallationTask)
 	group.POST("/install/tasks/:id/delete", controllers.DeletePluginInstallationTask)
-	group.POST("/install/tasks/:id/delete/:identifier", controllers.DeletePluginInstallationItemFromTask)
+	group.POST("/install/tasks/:id/delete/*identifier", controllers.DeletePluginInstallationItemFromTask)
 	group.GET("/install/tasks", controllers.FetchPluginInstallationTasks)
 	group.GET("/fetch/manifest", controllers.FetchPluginManifest)
 	group.GET("/fetch/identifier", controllers.FetchPluginFromIdentifier)