diff --git a/src/Maps/Maps.sln b/src/Maps/Maps.sln
deleted file mode 100644
index f531224..0000000
--- a/src/Maps/Maps.sln
+++ /dev/null
@@ -1,22 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 14
-VisualStudioVersion = 14.0.25420.1
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Maps", "Maps.xproj", "{C746E65B-78A5-44E0-8A27-A21E016DC9C7}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C746E65B-78A5-44E0-8A27-A21E016DC9C7}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/src/Maps/Maps.xproj b/src/Maps/Maps.xproj
deleted file mode 100644
index 74b281f..0000000
--- a/src/Maps/Maps.xproj
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
- 14.0
- $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
-
-
-
- c746e65b-78a5-44e0-8a27-a21e016dc9c7
- Maps
- .\obj
- .\bin\
- v4.5.2
-
-
- 2.0
-
-
-
-
-
-
-
diff --git a/src/Maps/Maps.xproj.user b/src/Maps/Maps.xproj.user
deleted file mode 100644
index f0a2a5d..0000000
--- a/src/Maps/Maps.xproj.user
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
- IIS Express
-
-
\ No newline at end of file
diff --git a/src/Maps/Startup.cs b/src/Maps/Startup.cs
index 1505dc4..7a803b6 100644
--- a/src/Maps/Startup.cs
+++ b/src/Maps/Startup.cs
@@ -37,6 +37,7 @@ namespace Maps
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
+ services.AddCors();
services.AddScoped();
services.AddScoped();
@@ -56,7 +57,10 @@ namespace Maps
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
-
+ app.UseCors(builder =>
+ builder.WithOrigins("http://localhost:3000")
+ .AllowAnyHeader()
+ );
app.UseDeveloperExceptionPage();
app.UseBrowserLink();
--
libgit2 0.21.4