Skip to content

Commit a0ea89f

Browse files
committed
Add fallback namespace to app cache manifest
Ref freeCodeCamp#276
1 parent 7303317 commit a0ea89f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎assets/javascripts/templates/pages/offline_tmpl.coffee‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ app.templates.offlinePage = (docs) -> """
4242

4343
canICloseTheTab = ->
4444
if app.AppCache.isEnabled()
45-
""" Yes! Even offline, you can open a new tab, go to <a href="http://devdocs.io">devdocs.io</a>, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand).<br>
46-
Note that loading any page other than <a href="http://devdocs.io">devdocs.io</a> directly won't work (due to limitations in AppCache). """
45+
""" Yes! Even offline, you can open a new tab, go to <a href="http://devdocs.io">devdocs.io</a>, and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """
4746
else if app.mozApp
4847
""" Yes! Even offline, you can open the app and everything will work as if you were online (provided you installed all the documentations you want to use beforehand). """
4948
else

‎views/manifest.erb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ NETWORK:
2323
*
2424

2525
FALLBACK:
26+
/ /

0 commit comments

Comments
 (0)