From 4c5df72057fe02257e243de37930a47425a84722 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Wed, 19 Feb 2025 02:05:39 +0800 Subject: chore(docker): remove crupest-api, forgejo and move dropped. --- .../CrupestApi.Secrets/SecretsExtensions.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 dropped/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretsExtensions.cs (limited to 'dropped/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretsExtensions.cs') diff --git a/dropped/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretsExtensions.cs b/dropped/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretsExtensions.cs deleted file mode 100644 index e09887b..0000000 --- a/dropped/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretsExtensions.cs +++ /dev/null @@ -1,19 +0,0 @@ -using CrupestApi.Commons.Secrets; -using CrupestApi.Commons.Crud; - -namespace CrupestApi.Secrets; - -public static class SecretsExtensions -{ - public static IServiceCollection AddSecrets(this IServiceCollection services) - { - services.AddCrud(); - return services; - } - - public static WebApplication MapSecrets(this WebApplication webApplication, string path = "/api/secrets") - { - webApplication.MapCrud(path, SecretsConstants.SecretManagementKey); - return webApplication; - } -} -- cgit v1.2.3