mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
[Provider] Setup provider (#1378)
This commit is contained in:
@@ -20,6 +20,10 @@ using Microsoft.OpenApi.Models;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
|
||||
#if !OSS
|
||||
using Bit.CommCore.Utilities;
|
||||
#endif
|
||||
|
||||
namespace Bit.Api
|
||||
{
|
||||
public class Startup
|
||||
@@ -119,6 +123,12 @@ namespace Bit.Api
|
||||
services.AddDefaultServices(globalSettings);
|
||||
services.AddCoreLocalizationServices();
|
||||
|
||||
#if OSS
|
||||
services.AddOosServices();
|
||||
#else
|
||||
services.AddCommCoreServices();
|
||||
#endif
|
||||
|
||||
// MVC
|
||||
services.AddMvc(config =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user