mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-27 19:50:23 +00:00
11 lines
No EOL
487 B
ApacheConf
11 lines
No EOL
487 B
ApacheConf
## OFFLINE SUPPORT ##
|
|
|
|
# These rules tell apache to check if there is a cookie called "offline", with value set to the
|
|
# current angular version. If this rule matches the appcache-offline.manifest will be served for
|
|
# requests to appcache.manifest
|
|
#
|
|
# This file must be processed by Rake in order to replace %ANGULAR_VERSION% with the actual version.
|
|
|
|
RewriteEngine on
|
|
RewriteCond %{HTTP_COOKIE} ng-offline="NG_VERSION_FULL"
|
|
RewriteRule appcache.manifest appcache-offline.manifest |