Skip to content

Commit f827741

Browse files
committed
Updated RepoValidator with TrustedSources info, domain/ip instructions.
1 parent c7c2a57 commit f827741

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Pages/RepoValidator.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ namespace SimTools
1313
/// Validates that the configured %baseurl% resolves to a trusted domain and IP,
1414
/// and that the local hosts file has not redirected it to an unexpected address.
1515
///
16-
/// Trusted sources are read from trusted-sources.json in the application directory.
17-
/// All checks are advisory — failures generate a warning dialog but never block downloads.
16+
/// Trusted sources are read from TrustedSources.cs during assembly. New mirrors should be
17+
/// added there and included in the build process. Warnings will continue until the user
18+
/// updates to a version of the app with the new trusted source included.
19+
///
20+
/// All checks are advisory — failures generate a warning dialog but never blocks downloads.
1821
///
1922
/// Validation runs at most once per domain per application session (cached).
2023
/// Call InvalidateCache() if the user changes the BaseUrl in Settings.

0 commit comments

Comments
 (0)