local - Viewing MAMP site on iPhone/iPad? -


i'm compiling website hammer mac , running site in local environment mamp.

now, i'm able view site on iphone when visiting 10.0.1.2/project-name/html reason it's not reading paths correctly, means things stylesheets missing.

my css looks in page source:

<link rel='stylesheet' href='assets/css/base.css'> <link rel='stylesheet' href='assets/css/form.css'> <link rel='stylesheet' href='assets/css/layout.css'> <link rel='stylesheet' href='assets/css/skeleton.css'> 

does know i'm doing wrong. i'd easy way view local sites on other devices.

any appreciated. in advance.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -