diff --git a/index.html b/index.html
index 2e2e715..cce92fe 100644
--- a/index.html
+++ b/index.html
@@ -1,11 +1,13 @@
AM DownloaderAM Downloader
独立下载队列 · WebDAV NAS 同步
-
添加下载任务
后续 AM 的下载按钮将直接把歌曲加入此队列,浏览器不再承担大文件下载。
+
+
\ No newline at end of file
diff --git a/main.go b/main.go
index 69412e3..8ac0bd5 100644
--- a/main.go
+++ b/main.go
@@ -84,6 +84,7 @@ func main() {
r := gin.Default()
r.StaticFile("/", "/app/index.html")
api := r.Group("/api")
+ api.GET("/search", a.search)
api.GET("/tasks", a.listTasks)
api.POST("/tasks", a.addTask)
api.POST("/tasks/:id/retry", a.retryTask)