File tree Expand file tree Collapse file tree
ONODE/NextGenSoftware.OASIS.API.ONODE.WebAPI
Properties/PublishProfiles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
3+ <Project >
4+ <PropertyGroup >
5+ <WebPublishMethod >Custom</WebPublishMethod >
6+ <DockerPublish >true</DockerPublish >
7+ <RegistryUrl >https://registry.hub.docker.com/dellams</RegistryUrl >
8+ <UserName >dellams</UserName >
9+ <PublishImageTag >latest</PublishImageTag >
10+ <PublishProvider >ContainerRegistry</PublishProvider >
11+ <LastUsedBuildConfiguration >Release</LastUsedBuildConfiguration >
12+ <LastUsedPlatform >Any CPU</LastUsedPlatform >
13+ <ProjectGuid >a8131b22-06ec-424a-b689-9411c8176be8</ProjectGuid >
14+ <_TargetId >DockerContainerRegistry</_TargetId >
15+ </PropertyGroup >
16+ </Project >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public void ConfigureServices(IServiceCollection services)
5959 // services.AddMvc();
6060
6161 // services.AddDbContext<DataContext>();
62- // services.AddCors(); //Needed twice? It is below too...
62+ services . AddCors ( ) ;
6363 // Add exception filter with configuration
6464 services . AddControllers ( x => x . Filters . Add ( new Filters . ServiceExceptionInterceptor ( Configuration ) ) )
6565 . AddJsonOptions ( x =>
File renamed without changes.
You can’t perform that action at this time.
0 commit comments