mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
delete settings.url when pulling it out
This commit is contained in:
parent
25c4ff33e4
commit
76c6617b28
@ -777,6 +777,7 @@ define([
|
||||
// called with single argument: $.ajax({url: '...'})
|
||||
settings = url;
|
||||
url = settings.url;
|
||||
delete settings.url;
|
||||
}
|
||||
settings = _add_auth_header(settings);
|
||||
return $.ajax(url, settings);
|
||||
|
Loading…
Reference in New Issue
Block a user