21.06.2017, 10:27
Hi
There is work around for this :
Run once to change main page when entering only IP address:
To go back to original state run this once again:
There is work around for this :
Run once to change main page when entering only IP address:
Code:
dst = '/www/index.html'
io.writefile(dst, [[<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;URL=/scada-vis/">
</head>
<body></body>
</html>]])
To go back to original state run this once again:
Code:
dst = '/www/index.html'
io.writefile(dst, [[<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;URL=/apps/">
</head>
<body></body>
</html>]])