   loadAsset: (@currentPath)->
     $.ajax
       type: "GET"
-      url: "http://localhost:9295/source?path=#{ @currentPath }"
+      url: "#{ CodeSync.get("assetCompilationEndpoint") }?path=#{ @currentPath }"
       success: (response)=>
 
         @_nameInput.setValue(@currentPath)


  initialize: (@options={})->
    _.extend(@, @options)

    @assetsCollection = new CodeSync.ProjectAssets()



  autoRender: true


  defaultExtension: ".coffee"

