File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 8080
8181/*
8282|--------------------------------------------------------------------------
83- | Initialise Config
83+ | Additional Leaf Database Config
8484|--------------------------------------------------------------------------
8585|
86- | Pass your application configuration into your leaf app.
86+ | Load leaf database configuration
8787|
8888*/
89- Leaf \Config:: set ( AppConfig ());
89+ Leaf \Database:: config ( DatabaseConfig ());
9090
9191/*
9292|--------------------------------------------------------------------------
93- | Default fix for CORS
93+ | Initialise Config
9494|--------------------------------------------------------------------------
9595|
96- | This just prevents the connection client from throwing
97- | CORS errors at you.
96+ | Pass your application configuration into your leaf app.
9897|
9998*/
100- app ()->cors ( CorsConfig ());
99+ app ()->config ( AppConfig ());
101100
102101/*
103102|--------------------------------------------------------------------------
104- | Additional Leaf Database Config
103+ | Default fix for CORS
105104|--------------------------------------------------------------------------
106105|
107- | Load leaf database configuration
106+ | This just prevents the connection client from throwing
107+ | CORS errors at you.
108108|
109109*/
110- Leaf \Database:: config ( DatabaseConfig ());
110+ app ()-> cors ( CorsConfig ());
111111
112112/*
113113|--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments