Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
feature: delete the repo prefix for download home path
Browse files Browse the repository at this point in the history
Signed-off-by: Starnop <[email protected]>
  • Loading branch information
starnop committed Jun 3, 2019
1 parent 5c1eb9a commit 7e75c51
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions supernode/config/global_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

0 comments on commit 7e75c51

Please sign in to comment.