From 0bf3be64ad6365fc445aa264ba11a8550f52085c Mon Sep 17 00:00:00 2001 From: yourok <8yourok8@mail.ru> Date: Wed, 10 Apr 2024 23:30:11 +0300 Subject: [PATCH] update --- server/docs/docs.go | 6 ++++ server/docs/swagger.json | 6 ++++ server/docs/swagger.yaml | 4 +++ server/web/pages/template/html.go | 20 ++++++------ .../pages/template/pages/asset-manifest.json | 14 ++++---- server/web/pages/template/pages/index.html | 2 +- server/web/pages/template/route.go | 32 +++++++++---------- 7 files changed, 50 insertions(+), 34 deletions(-) diff --git a/server/docs/docs.go b/server/docs/docs.go index 2217d8c..39905ff 100644 --- a/server/docs/docs.go +++ b/server/docs/docs.go @@ -475,6 +475,12 @@ const docTemplate = `{ "name": "poster", "in": "query", "required": true + }, + { + "type": "string", + "description": "Set category of torrent, used in web: movie, tv, music, other", + "name": "category", + "in": "query" } ], "responses": { diff --git a/server/docs/swagger.json b/server/docs/swagger.json index c4cb762..01840cc 100644 --- a/server/docs/swagger.json +++ b/server/docs/swagger.json @@ -468,6 +468,12 @@ "name": "poster", "in": "query", "required": true + }, + { + "type": "string", + "description": "Set category of torrent, used in web: movie, tv, music, other", + "name": "category", + "in": "query" } ], "responses": { diff --git a/server/docs/swagger.yaml b/server/docs/swagger.yaml index b6c2aec..553faed 100644 --- a/server/docs/swagger.yaml +++ b/server/docs/swagger.yaml @@ -610,6 +610,10 @@ paths: name: poster required: true type: string + - description: 'Set category of torrent, used in web: movie, tv, music, other' + in: query + name: category + type: string produces: - application/octet-stream responses: diff --git a/server/web/pages/template/html.go b/server/web/pages/template/html.go index c5d2ef9..4ba1c2b 100644 --- a/server/web/pages/template/html.go +++ b/server/web/pages/template/html.go @@ -118,20 +118,20 @@ var Mstile150x150png []byte //go:embed pages/site.webmanifest var Sitewebmanifest []byte -//go:embed pages/static/js/2.15e75e72.chunk.js -var Staticjs215e75e72chunkjs []byte +//go:embed pages/static/js/2.63f74d95.chunk.js +var Staticjs263f74d95chunkjs []byte -//go:embed pages/static/js/2.15e75e72.chunk.js.LICENSE.txt -var Staticjs215e75e72chunkjsLICENSEtxt []byte +//go:embed pages/static/js/2.63f74d95.chunk.js.LICENSE.txt +var Staticjs263f74d95chunkjsLICENSEtxt []byte -//go:embed pages/static/js/2.15e75e72.chunk.js.map -var Staticjs215e75e72chunkjsmap []byte +//go:embed pages/static/js/2.63f74d95.chunk.js.map +var Staticjs263f74d95chunkjsmap []byte -//go:embed pages/static/js/main.714fb205.chunk.js -var Staticjsmain714fb205chunkjs []byte +//go:embed pages/static/js/main.96201d04.chunk.js +var Staticjsmain96201d04chunkjs []byte -//go:embed pages/static/js/main.714fb205.chunk.js.map -var Staticjsmain714fb205chunkjsmap []byte +//go:embed pages/static/js/main.96201d04.chunk.js.map +var Staticjsmain96201d04chunkjsmap []byte //go:embed pages/static/js/runtime-main.f542387e.js var Staticjsruntimemainf542387ejs []byte diff --git a/server/web/pages/template/pages/asset-manifest.json b/server/web/pages/template/pages/asset-manifest.json index 9178360..500b879 100644 --- a/server/web/pages/template/pages/asset-manifest.json +++ b/server/web/pages/template/pages/asset-manifest.json @@ -1,17 +1,17 @@ { "files": { - "main.js": "/static/js/main.714fb205.chunk.js", - "main.js.map": "/static/js/main.714fb205.chunk.js.map", + "main.js": "/static/js/main.96201d04.chunk.js", + "main.js.map": "/static/js/main.96201d04.chunk.js.map", "runtime-main.js": "/static/js/runtime-main.f542387e.js", "runtime-main.js.map": "/static/js/runtime-main.f542387e.js.map", - "static/js/2.15e75e72.chunk.js": "/static/js/2.15e75e72.chunk.js", - "static/js/2.15e75e72.chunk.js.map": "/static/js/2.15e75e72.chunk.js.map", + "static/js/2.63f74d95.chunk.js": "/static/js/2.63f74d95.chunk.js", + "static/js/2.63f74d95.chunk.js.map": "/static/js/2.63f74d95.chunk.js.map", "index.html": "/index.html", - "static/js/2.15e75e72.chunk.js.LICENSE.txt": "/static/js/2.15e75e72.chunk.js.LICENSE.txt" + "static/js/2.63f74d95.chunk.js.LICENSE.txt": "/static/js/2.63f74d95.chunk.js.LICENSE.txt" }, "entrypoints": [ "static/js/runtime-main.f542387e.js", - "static/js/2.15e75e72.chunk.js", - "static/js/main.714fb205.chunk.js" + "static/js/2.63f74d95.chunk.js", + "static/js/main.96201d04.chunk.js" ] } \ No newline at end of file diff --git a/server/web/pages/template/pages/index.html b/server/web/pages/template/pages/index.html index bff22bd..5146d95 100644 --- a/server/web/pages/template/pages/index.html +++ b/server/web/pages/template/pages/index.html @@ -1 +1 @@ -