File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/TechStacks/TechStacks Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public AppHost()
3737
3838 public static void Load ( ) => PreInit ( ) ;
3939 static partial void PreInit ( ) ;
40+ static partial void PreConfigure ( IAppHost appHost ) ;
4041
4142 /// <summary>
4243 /// Application specific configuration
@@ -45,12 +46,14 @@ public AppHost()
4546 /// <param name="container"></param>
4647 public override void Configure ( Container container )
4748 {
49+ PreConfigure ( this ) ;
50+
4851 SetConfig ( new HostConfig {
4952 AddRedirectParamsToQueryString = true ,
5053 WebHostUrl = "http://techstacks.io" , //for sitemap.xml urls
5154 } ) ;
5255
53- JsConfig . DateHandler = DateHandler . ISO8601 ;
56+ JsConfig . Init ( new ServiceStack . Text . Config { DateHandler = DateHandler . ISO8601 } ) ;
5457
5558 if ( AppSettings . GetString ( "OrmLite.Provider" ) == "Postgres" )
5659 {
You can’t perform that action at this time.
0 commit comments