changed local_ip variable to be in the app.get

why ? because I said so lol

nah really it’s because if I don’t when I run as a cron on raspberry it
seems to load the cron before the wifi can connect .. if I do it  on
the route call instead of when the script loads then it should work and
show local ip