Skip to content

Commit

Permalink
添加 Mirror 配置项到 appsettings.json
Browse files Browse the repository at this point in the history
在 `appsettings.json` 文件中添加了一个新的配置项 `Mirror`。该配置项包含三个子项:`Enabled`(启用镜像功能)、`PackageSource`(镜像包源的 URL)。
  • Loading branch information
239573049 committed Nov 9, 2024
1 parent 6352116 commit cb4cf18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/NuGet.Next/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"Type": "Sqlite",
"ConnectionString": "Data Source=nuget-next.db"
},
"Mirror": {
"Enabled": true,
"PackageSource": "https://nuget.cdn.azure.cn/v3/index.json"
},
"Storage": {
"Type": "filesystem",
"Path": "./data"
Expand Down

0 comments on commit cb4cf18

Please sign in to comment.