changed qr code to not use local ip
only load local ip into qr code if running in localhost