diff options
| author | Igor Minar | 2012-01-17 03:10:33 -0800 |
|---|---|---|
| committer | Igor Minar | 2012-01-17 09:49:39 -0800 |
| commit | f9502d2ad3dae4eee15207b558dcdce2b2497b22 (patch) | |
| tree | 56f3a1aba8923414d15908ec3b9b3c7813bbc51e | |
| parent | 0356c90af83202f11015b4162fab3faa6a016458 (diff) | |
| download | angular.js-f9502d2ad3dae4eee15207b558dcdce2b2497b22.tar.bz2 | |
fix(docs): temp hack to get appcache properly invalidated
| -rw-r--r-- | docs/src/templates/.htaccess | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/templates/.htaccess b/docs/src/templates/.htaccess index 9f9a152c..ad7b7752 100644 --- a/docs/src/templates/.htaccess +++ b/docs/src/templates/.htaccess @@ -10,6 +10,9 @@ RewriteEngine on RewriteCond %{HTTP_COOKIE} ng-offline="NG_VERSION_FULL" RewriteRule appcache.manifest appcache-offline.manifest +## Redirect to the latest manifest +RewriteCond %{HTTP_HOST} ^docs-next\.angularjs\.org$ +RewriteRule appcache.manifest http://code.angularjs.org/next/docs/appcache.manifest [R=301] ## HTML5 URL Support ## RewriteRule ^(guide|api|cookbook|misc|tutorial)(/.*)?$ index.html |
