add obktype in app html - in case we need the webapp to adapt....

Add a link to webapp in native cfg
This commit is contained in:
btsimonh
2022-02-16 09:12:35 +00:00
parent 438e587008
commit 819628ef39
2 changed files with 14 additions and 1 deletions

View File

@ -61,8 +61,20 @@ const char *apppage1 =
" <head>"
" <script>"
" var root = '";
#if WINDOWS
const char * apppage2 = "';"
" var obktype = 'windows';"
" var device = 'http://";
#elif PLATFORM_XR809
const char * apppage2 = "';"
" var obktype = 'XR809';"
" var device = 'http://";
#else
const char * apppage2 = "';"
" var obktype = 'beken';"
" var device = 'http://";
#endif
const char * apppage3 = "';"
" </script>"
" <script src=\"";