-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project versions and refactor China deployment logic
Updated Elf.Api.csproj and ElfAdmin.csproj to version 6.10.1. Upgraded Edi.ChinaDetector package in Elf.Api.csproj to 1.2.251. Refactored China deployment logic in WebApplicationExtensions.cs: - Removed Experimental:DetectChina config setting. - Instantiated OfflineChinaDetectService directly. - Simplified DealWithChina method: - Removed switch-case logic. - Introduced Prevent method for blocking. - Updated block message and status code. - In dev environments, log warning and continue running.
- Loading branch information
Showing
3 changed files
with
24 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters