增加镜像离线下载

This commit is contained in:
NewName
2025-05-17 12:22:03 +08:00
parent 5c28e0efbd
commit 0c27b93326
6 changed files with 1225 additions and 1 deletions

View File

@@ -73,6 +73,9 @@ func main() {
// 前端访问路径,默认根路径
router.Static("/", "./public")
router.NoRoute(handler)
// 初始化Skopeo相关路由
initSkopeoRoutes(router)
err := router.Run(fmt.Sprintf("%s:%d", host, port))
if err != nil {