From 2fd235bb5f7f46625c7ad8c46573869ec897f841 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 22 Jan 2016 21:46:57 +0100 Subject: [PATCH] Fix trailing slashes. --- 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 7ea6f24..04d99ee 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 = true; + $resourceProvider.defaults.stripTrailingSlashes = false; }]) .run(function(editableOptions) {