From cbd1ad0e4979e9acf67a87a1baea0d80c6f48d3e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 14 Jan 2016 10:25:37 +0100 Subject: [PATCH] Strip trailing slashes in angular resources. --- accountant/frontend/static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index 04d99ee..7ea6f24 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -77,7 +77,7 @@ var accountantApp = angular.module("accountantApp", [ $storageProvider.setEnabledStorageEngines(['local', 'session']); // Keep trailing slashes to avoid redirect by flask.. - $resourceProvider.defaults.stripTrailingSlashes = false; + $resourceProvider.defaults.stripTrailingSlashes = true; }]) .run(function(editableOptions) {