We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde5870 commit 88eaa41Copy full SHA for 88eaa41
src/Our.Umbraco.GraphQL/content/App_Start/GraphQLConfig.cs.pp
@@ -0,0 +1,16 @@
1
+using Umbraco.Core;
2
+using Umbraco.Web;
3
+
4
+using Our.Umbraco.GraphQL.Web;
5
6
+namespace $rootnamespace$
7
+{
8
+ public class GraphQLConfig : ApplicationEventHandler
9
+ {
10
+ protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
11
12
+ UmbracoDefaultOwinStartup.MiddlewareConfigured += (sender, e) =>
13
+ e.AppBuilder.UseUmbracoGraphQL(applicationContext, new GraphQLServerOptions());
14
+ }
15
16
+}
0 commit comments