re-route settings urls

This commit is contained in:
Jakob Ketterl
2021-02-13 16:44:14 +01:00
parent ae76470612
commit cda43b5c5c
10 changed files with 55 additions and 41 deletions

View File

@ -58,7 +58,8 @@ Header.prototype.toggle_rx_photo = function(ev) {
Header.prototype.download_details = function() {
var self = this;
$.ajax('api/receiverdetails').done(function(data){
// TODO: make this use a relative URL again
$.ajax('/api/receiverdetails').done(function(data){
self.setDetails(data);
});
};