Explorar o código

Add comment about applicationCache not supporting CORS

Thibaut %!s(int64=12) %!d(string=hai) anos
pai
achega
d38a5bc3d4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      assets/javascripts/app/app.coffee

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

@@ -97,6 +97,8 @@
     return
 
   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']
 
   onBootError: (args...) ->