mirror of
https://github.com/typicode/json-server.git
synced 2025-07-27 20:23:34 +08:00
Use relative path in resource list
This commit is contained in:
@ -72,7 +72,7 @@
|
|||||||
$('#resources').empty();
|
$('#resources').empty();
|
||||||
$.each(data, function(key, value) {
|
$.each(data, function(key, value) {
|
||||||
$('#resources')
|
$('#resources')
|
||||||
.append('<li><a href="/'+ key + '">' + key + '</a></li>');
|
.append('<li><a href="'+ key + '">' + key + '</a></li>');
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user