We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b2ef77 commit b85fe4bCopy full SHA for b85fe4b
config-example.json
@@ -1,3 +1,4 @@
1
{
2
- "base_index_url": ""
+ "base_index_url": "",
3
+ "tail_slash": false
4
}
index.html
@@ -169,7 +169,7 @@
169
170
return $http({
171
method: 'GET',
172
- url: self.config.base_index_url + (path || '')
+ url: self.config.base_index_url + (path || '') + (self.config.tail_slash? '/': '')
173
}).then(function (response) {
174
var files = response.data || [];
175
@@ -210,7 +210,8 @@
210
self.loading.stop();
211
212
self.config = response.data || {
213
- base_index_url: ""
+ base_index_url: "",
214
+ tail_slash: false
215
};
216
217
$scope.$on('$locationChangeSuccess', function () {
0 commit comments