only load local ip into qr code if running in localhost