mirror of
https://github.com/bitwarden/server.git
synced 2025-07-11 21:03:47 -05:00
events processor web job project
This commit is contained in:
19
src/EventsProcessor/Program.cs
Normal file
19
src/EventsProcessor/Program.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Microsoft.Azure.WebJobs;
|
||||
|
||||
namespace Bit.EventsProcessor
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
private static void Main()
|
||||
{
|
||||
var config = new JobHostConfiguration();
|
||||
if(config.IsDevelopment)
|
||||
{
|
||||
config.UseDevelopmentSettings();
|
||||
}
|
||||
|
||||
var host = new JobHost(config);
|
||||
host.RunAndBlock();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user