如何更改`ionic serve`以使用本地主机而不是IP?

ca9*_*3d9 1 cordova ionic-framework

运行ionic serve显示以下消息。但是,我在 azure 中有一个 facebook 登录名,而 CORS 只接受localhost. 有没有办法将IP地址更改为localhost

Running live reload server: http://192.168.0.5:35729
Watching: www/**/*, !www/lib/**/*, !www/**/*.map
? Running dev server:  http://192.168.0.5:8100
Ionic server commands, enter:
  restart or r to restart the client app from the root
  goto or g and a url to have the app navigate to the given url
  consolelogs or c to enable/disable console log output
  serverlogs or s to enable/disable server log output
  quit or q to shutdown the server and exit
Run Code Online (Sandbox Code Playgroud)

raj*_*raj 5

ionic serve --address localhost 应该管用。