sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.86k stars 136 forks source link

gives page not found #285

Closed nileshgulia1 closed 6 years ago

nileshgulia1 commented 6 years ago

same as #266 I have deployed my project on http://dapper-foot.surge.sh/ .when opening it gives page not found.I have also included index.html file in root still nothing happens.Please Help me. screenshot from 2017-10-02 11-10-43

brandonb927 commented 6 years ago

@nileshgulia1 it looks like you deployed the incorrect folder, I can see a /build/ path appended to every asset in http://dapper-foot.surge.sh/auto.appcache. When you deploy make sure you specify the build folder in your project directory to upload!

nileshgulia1 commented 6 years ago

@brandonb927 looks like i have included homepage in my package.json .after removing it fixes this error. anyways ,thanks for help.