Use the API base URL in Fetch APIs.

This commit is contained in:
Ms2ger 2016-12-19 19:43:26 +01:00
parent fbed4d23d6
commit 75be03041c
4 changed files with 2 additions and 14 deletions

View file

@ -92,8 +92,7 @@ impl Request {
let mut fallback_credentials: Option<NetTraitsRequestCredentials> = None;
// Step 4
// TODO: `entry settings object` is not implemented in Servo yet.
let base_url = global.get_url();
let base_url = global.api_base_url();
match input {
// Step 5