This sends the Cache-Control header to allow caching of static resources, and checks the If-Modified-Since header to allow browser to use the cached resource on refresh. Also fixes some paths that caused redirects (core//foo -> core/foo)
8 lines
207 B
JavaScript
8 lines
207 B
JavaScript
angular.module('syncthing.core')
|
|
.directive('httpErrorDialog', function () {
|
|
return {
|
|
restrict: 'A',
|
|
templateUrl: 'syncthing/core/httpErrorDialogView.html'
|
|
};
|
|
});
|