Strip trailing slashes in angular resources.
This commit is contained in:
parent
9498e3e89e
commit
cbd1ad0e49
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user