Commit 3c9c3f05 authored by Aral Balkan's avatar Aral Balkan
Browse files

Now creating proper asset URLs for the private web server.

parent 24dac94a
......@@ -130,7 +130,7 @@ class MessageSplitViewController: NSSplitViewController
//
// Fix image URLs
indexHTML = indexHTML.stringByReplacingOccurrencesOfString("file:///", withString: "")
indexHTML = indexHTML.stringByReplacingOccurrencesOfString("file:///", withString: assetURLPrefix.stringByAppendingString("/"))
// Remove redundant empty lines.
indexHTML = indexHTML.stringByReplacingOccurrencesOfString("<p><br></p>", withString: "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment