|
|
@ -38,8 +38,9 @@ namespace espacecollab.backend.api |
|
|
|
app.UseDeveloperExceptionPage(); |
|
|
|
app.UseDeveloperExceptionPage(); |
|
|
|
} |
|
|
|
} |
|
|
|
app.UseCors( |
|
|
|
app.UseCors( |
|
|
|
options => options.WithOrigins("http://localhost:4200").AllowAnyMethod().AllowAnyHeader() |
|
|
|
options => options.WithOrigins("http://localhost:4200","http://localhost:8082").AllowAnyMethod().AllowAnyHeader() |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
) ; |
|
|
|
app.UseSwagger(); |
|
|
|
app.UseSwagger(); |
|
|
|
app.UseSwaggerUI(); |
|
|
|
app.UseSwaggerUI(); |
|
|
|
|
|
|
|
|
|
|
|