mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-11 07:15:33 +00:00
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:
@ -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=\"";
|
||||
|
||||
Reference in New Issue
Block a user