1
0
Эх сурвалжийг харах

Add comment about applicationCache not supporting CORS

Thibaut 12 жил өмнө
parent
commit
d38a5bc3d4

+ 2 - 0
assets/javascripts/app/app.coffee

@@ -97,6 +97,8 @@
     return
     return
 
 
   indexHost: ->
   indexHost: ->
+    # Can't load the index files from the host/CDN when applicationCache is
+    # enabled because it doesn't support caching URLs that use CORS.
     @config[if @appCache and @settings.hasDocs() then 'index_path' else 'docs_host']
     @config[if @appCache and @settings.hasDocs() then 'index_path' else 'docs_host']
 
 
   onBootError: (args...) ->
   onBootError: (args...) ->