3 ms·
i havent tried showoff.io and little curious about how about internal reference translations? for example css files? does this <link rel="stylesheet" href="loc
by maheswaran 15y ago
i havent tried showoff.io and little curious about how about internal reference translations? for example css files?
does this
<link rel="stylesheet" href="localhost:3000/mystyle.css"/>
translates to
<link rel="stylesheet" href="myserv.showoff.io/mystyle.css"/>
???
- danparsonson 15y agoOut of interest, why use absolute URLs at all if the files aren't on a different server? Won't you have to go through and change them all when you deploy? Anyway, re: translations, I believe it's a tunnel so your local server is visible to the outside world as myserv.showoff.io - thus, no translation of anything.
- maheswaran 15y agomy bad, internal references will be relative only (<link href="../Images/favicon/16x16.ico" rel="Shortcut Icon" /> ) so no need for translation. i dont know why i thought what i thought
- senex 15y agoHey maheswaran, Showoff doesn't touch the body of the requests, so you'd need to use relative URLs, change the "domain" config variable each time you make a new showoff tunnel, or set up an unlimited account where you can choose a permanent subdomain like "myserv.showoff.io".
- skinnymuch 15y agoUntil you can't/don't pay the monthly charge and you have to change all your URLs.