fix urls for when we aren't running on the root

This commit is contained in:
root
2019-11-25 20:17:11 +01:00
parent 147c108570
commit b774e75f2c
5 changed files with 15 additions and 11 deletions

View File

@ -1,6 +1,6 @@
$(function(){
var converter = new showdown.Converter();
$.ajax('/api/features').done(function(data){
$.ajax('api/features').done(function(data){
var $table = $('table.features');
$.each(data, function(name, details) {
var requirements = $.map(details.requirements, function(r, name){
@ -21,4 +21,4 @@ $(function(){
);
})
});
});
});