File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -504,6 +504,15 @@ classDiagram
504504 Feed "0..n" -- "1" FeedSource
505505```
506506
507+ ## Online check for Client
508+
509+ If the client does not have internet when starting, it cannot load the assets needed for the Client.
510+ The ` public/client/online-check ` has been added to handle this.
511+ The folder contains an ` index.html ` , that checks connectivity before redirecting to ` /client ` .
512+ If this index.html is cached in the browser the online check page can load without internet.
513+
514+ To use this, set the starting path of the Client to ` /client/online-check ` .
515+
507516## Error codes in the Client
508517
509518The Client at ` /client ` can display the following error codes:
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ authentication-unbind-screen:
2121 controller : App\Controller\Api\AuthScreenUnbindController
2222
2323admin :
24+ # Sub routes are included to pass route control to the React App.
2425 path : /admin{subroutes}
2526 requirements :
2627 # https://symfony.com/doc/current/routing.html#slash-characters-in-route-parameters
@@ -29,10 +30,7 @@ admin:
2930 controller : App\Controller\Admin\AdminController
3031
3132client :
32- path : /client{subroutes}
33- requirements :
34- # https://symfony.com/doc/current/routing.html#slash-characters-in-route-parameters
35- subroutes : ' .*'
33+ path : /client
3634 methods : ['GET']
3735 controller : App\Controller\Client\ClientController
3836
@@ -48,6 +46,7 @@ client_config:
4846
4947when@dev :
5048 templates :
49+ # Sub routes are included to pass route control to the React App.
5150 path : /template{subroutes}
5251 methods : ['GET']
5352 requirements :
You can’t perform that action at this time.
0 commit comments