mirror of https://github.com/dapr/quickstarts.git
MapSubscribers fix per Ryan's review
Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
This commit is contained in:
parent
1622e11207
commit
17cbaedf71
|
@ -9,8 +9,7 @@ var app = builder.Build();
|
|||
app.UseCloudEvents();
|
||||
|
||||
// needed for Dapr pub/sub routing
|
||||
app.UseRouting();
|
||||
app.UseEndpoints(endpoints =>{endpoints.MapSubscribeHandler();});
|
||||
app.MapSubscribeHandler();
|
||||
|
||||
if (app.Environment.IsDevelopment()) {app.UseDeveloperExceptionPage();}
|
||||
|
||||
|
|
Loading…
Reference in New Issue