From 7e75c5170504052b55aefa14bacf285516a4e1d7 Mon Sep 17 00:00:00 2001 From: Starnop Date: Mon, 3 Jun 2019 16:13:36 +0800 Subject: [PATCH] feature: delete the repo prefix for download home path Signed-off-by: Starnop --- supernode/config/global_variable.go | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/supernode/config/global_variable.go b/supernode/config/global_variable.go index c2e503f0a..e6c494588 100644 --- a/supernode/config/global_variable.go +++ b/supernode/config/global_variable.go @@ -16,22 +16,8 @@ package config -import ( - "path" -) - var ( - // HTTPSubPath is the name of the parent directory where the upload files are stored. - HTTPSubPath = "qtdown" - - // DownloadSubPath is the name of the parent directory where the downloaded files are stored. - DownloadSubPath = "download" - // DownloadHome is the parent directory where the downloaded files are stored // which is a relative path. - DownloadHome = path.Join("repo", DownloadSubPath) - - // UploadHome is the parent directory where the upload files are stored - // which is a relative path. - UploadHome = path.Join("repo", HTTPSubPath) + DownloadHome = "download" )