1
Пробег ionic serve
показано следующее сообщение. Тем не менее, у меня есть логин для входа в лазурь, и CORS принимает только localhost
. Это способ изменить IP-адрес на localhost
?Как изменить `ionic serve` для использования localhost вместо IP?
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