Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

oops

  • Loading branch information...
commit 11e9d051740159ac03b3e567c30b958f3a08fa7c 1 parent 9c86999
Ivan Koshkin authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/rdbl.erl
4  src/rdbl.erl
@@ -447,8 +447,8 @@ to_abs_url({<<"src">>, U}, Ctx)  -> {<<"src">>,  list_to_binary(full_url(Ctx, bi
447 447
 to_abs_url({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(full_url(Ctx, binary_to_list(U)))};
448 448
 to_abs_url(A, _) -> A.
449 449
 
450  
-to_abs_url_browser_mode({<<"src">>, U}, Ctx)  -> {<<"src">>,  list_to_binary(?MY_API_PATH ++ full_url(Ctx, binary_to_list(U)))};
451  
-to_abs_url_browser_mode({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(full_url(Ctx, binary_to_list(U)))};
  450
+to_abs_url_browser_mode({<<"src">>, U}, Ctx)  -> {<<"src">>,  list_to_binary(full_url(Ctx, binary_to_list(U)))};
  451
+to_abs_url_browser_mode({<<"href">>, U}, Ctx) -> {<<"href">>, list_to_binary(?MY_API_PATH ++ full_url(Ctx, binary_to_list(U)))};
452 452
 to_abs_url_browser_mode(A, _) -> A.
453 453
 
454 454
 %% @spec get_parent_ref(scored_html_node()) -> reference()

0 notes on commit 11e9d05

Please sign in to comment.
Something went wrong with that request. Please try again.