Closed wesbos closed 11 years ago
It's as good as it's going to get for the asciidoctor site. In the asciidoctor site source, they're relative to the root. We're serving from host/preview/repo_name. What we'll have to tell people creating the site is to use #{site.base_url}/path/to/resource. That way everything will work correctly in the preview.
On Thu, Jul 11, 2013 at 9:32 AM, Wes Bos notifications@github.com wrote:
I have the preview working but all the assets aren't loading because the paths are /javascript/scripts.js and so on.
How does the preview work? Is it running on another port or just returning HTML?
cc @LightGuard https://github.com/LightGuard
— Reply to this email directly or view it on GitHubhttps://github.com/awestruct/web-editor/issues/39 .
Jason Porter http://en.gravatar.com/lightguardjp
Awesome, thanks for the explanation! Closing..
I have the preview working but all the assets aren't loading because the paths are /javascript/scripts.js and so on.
How does the preview work? Is it running on another port or just returning HTML?
cc @LightGuard