When using "Browser Reload" Option I get incorrect url
HI When using the browser reload option offered on an HTML or a Laravel Blade page which I use, I am getting an incorrect url. The Host is doubled, see screen shot.
Somewhere I expect the server is incorrectly configured - but I have searched through the docs but can not find out where. ideas ?
Many Thanks!
请先登录再写评论。
Please share screenshots of the
Connection
andMappings
panes of your deployment configuration at Settings | Build, Execution, Deployment | Deployment. Thanks!Many Thanks for helping out! I have two connections - one for SFTP, and one local. Screenshots below.
Thank you for the screenshots! They're from the `Connection` tab, but could you please also share screenshots of the `Mappings` tabs for both servers? Thanks!
here you go!
Many thanks! That seems to have done the trick in getting rid of the double host. However is this browser reload feature a simple HTML thing? I ask as I use Laravel, a PHP framework, and when I hit the Chrome button on a Laravel Blade view it sources the file location like below
however that file location will never bring up the view. The correct url should be as below. Am I missing something? Many Thanks!
@Vincej
Yes.
A possible workaround for the above could be a special "matching table" where user could provide "for this file use the following URL" info. I have not seen such tickets personally so feel free to make one (I'd vote).
P.S. I'm not sure if such "file to URL" mapping could be achieved with current deployment mappings... but worth checking out. If it's possible I think it will be quite inconvenient to manage if you have more than a few of them...