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