Remove appsettings files from publish directory and update .gitignore to include them

This commit is contained in:
Phoenix
2024-12-27 10:19:23 +08:00
parent 38cbd48a11
commit b1078e4860
3 changed files with 2 additions and 24 deletions
+2
View File
@@ -68,3 +68,5 @@ Thumbs.db
# Ignore all files with a _svn directory, which is used by Subversion # Ignore all files with a _svn directory, which is used by Subversion
_svn/ _svn/
publish/delete publish/delete
publish/appsettings.Development.json
publish/appsettings.json
-8
View File
@@ -1,8 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
-16
View File
@@ -1,16 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"RunAsWindowsService": true,
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:5000"
}
}
}
}