We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e11302 commit e83ae5fCopy full SHA for e83ae5f
api/MyApp/AppHost.cs
@@ -13,11 +13,10 @@ public override void Configure(Container container)
13
RawHttpHandlers.Add(ApiHandlers.Json("/api/{Request}"));
14
15
SetConfig(new HostConfig {
16
-
17
});
18
19
Plugins.Add(new SharpPagesFeature());
20
Plugins.Add(new CorsFeature(allowOriginWhitelist:new[]{
21
- "http://localhost:3000", "https://nextjs-gh.web-templates.io" }));
+ "http://localhost:3000", "https://nextjs-gh.web-templates.io" }, allowCredentials:true));
22
}
23
-}
+}
0 commit comments