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
213 B
JavaScript
8 lines
213 B
JavaScript
angular.module('syncthing.core')
|
|
.directive('networkErrorDialog', function () {
|
|
return {
|
|
restrict: 'A',
|
|
templateUrl: 'syncthing/core/networkErrorDialogView.html'
|
|
};
|
|
});
|