Error: invalid_request device_id and device_name are required for private IP

后端 未结 6 489
眼角桃花
眼角桃花 2020-11-30 08:53

I was doing my development with Google Drive API using [localhost:8080]. Suddenly I felt to test it in my local deployment sandbox and it has IP address as [192.168.1.1:8080

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 09:18

    Worth noting that on a Mac you can do the same thing by editing as root:

    /private/etc/hosts
    

    Add a similar line as mentioned above

    192.168.60.10   fakedomain.com
    

提交回复
热议问题