Fix trailing slashes.

This commit is contained in:
Alexis Lahouze 2016-01-22 21:46:57 +01:00
parent c8383fcbad
commit 2fd235bb5f

View File

@ -77,7 +77,7 @@ var accountantApp = angular.module("accountantApp", [
$storageProvider.setEnabledStorageEngines(['local', 'session']); $storageProvider.setEnabledStorageEngines(['local', 'session']);
// Keep trailing slashes to avoid redirect by flask.. // Keep trailing slashes to avoid redirect by flask..
$resourceProvider.defaults.stripTrailingSlashes = true; $resourceProvider.defaults.stripTrailingSlashes = false;
}]) }])
.run(function(editableOptions) { .run(function(editableOptions) {