aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-11-03 16:47:29 -0600
committerJP Dillingham <jp@dillingham.me>2024-11-03 16:47:29 -0600
commit4d5c0e437065e104a784b7080915ca2bfdd2218c (patch)
tree497f5c4120de95898cad5d92f13cdaeac431bf29 /src/slskd/Core
parent4ada795444443fff7b62d7d75404e6a835f18ec0 (diff)
downloadslskd-4d5c0e437065e104a784b7080915ca2bfdd2218c.tar.gz
add an IHttpClientFactory with SSL disabled
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/Constants.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/slskd/Core/Constants.cs b/src/slskd/Core/Constants.cs
new file mode 100644
index 00000000..380a3519
--- /dev/null
+++ b/src/slskd/Core/Constants.cs
@@ -0,0 +1,23 @@
+// <copyright file="Constants.cs" company="slskd Team">
+// Copyright (c) slskd Team. All rights reserved.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published
+// by the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see https://www.gnu.org/licenses/.
+// </copyright>
+
+namespace slskd;
+
+public static class Constants
+{
+ public static readonly string IgnoreCertificateErrors = nameof(IgnoreCertificateErrors);
+} \ No newline at end of file