forked from MDCPS/DamageAssessment_Backend
		
	Fix for Data seed issue,Url Correction for SurveyResponses
This commit is contained in:
		| @ -42,7 +42,14 @@ var app = builder.Build(); | ||||
| if (app.Environment.IsDevelopment()) | ||||
| { | ||||
|     app.UseSwagger(); | ||||
|     app.UseSwaggerUI(options => { options.SwaggerEndpoint("/attachments/swagger/v1/swagger.json", ""); }); | ||||
|     app.UseSwaggerUI(options => { | ||||
|        //switch for local environment | ||||
|         // options.SwaggerEndpoint("/swagger/v1/swagger.json", ""); | ||||
|         options.SwaggerEndpoint("/attachments/swagger/v1/swagger.json", ""); | ||||
|       | ||||
|     }); | ||||
|  | ||||
|  | ||||
| } | ||||
|  | ||||
| app.UseAuthorization(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user