robbiehanson / CocoaHTTPServer

A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Other
5.59k stars 1.31k forks source link

Bonjour announcing, how to do ? #197

Open xuhongfei opened 5 years ago

xuhongfei commented 5 years ago

I setup my local server on iPhone.But it just can access my 127.0.0.1:port. I want to use www.mywebsite.com to access it.How i can do?

xuhongfei commented 5 years ago

setDomain and republishBonjour not work

karosLi commented 5 years ago

you can use nsurlprotocol to replace origin request