New Omega2 user, with some limited Linux/Unix experience so far.
I'm trying to start simple, just adding a bit of html code to the OnionOS index page.
Goal is to create a browser-accessible server (local WIFi networks access only), later adding server-side code to accept user button inputs and drive GPIO output pins. Probably also read input pins and display status.
The code the stock server returns when accessing Onion OmegaOS is rather simple; too simple, maybe:
<script>
(function (){
var newUrl = window.location.href + 'OnionOS';
window.location = newUrl;
})();
</script>
OK, that appends OnioOS to the URL and opens the new page, which has the exact same code!
(from browser ctrl-U, Show Source)
Where do I go from here?
Thanks!
Dave