Skip to content

Commit

Permalink
Merge pull request #1087 from kodchi/master
Browse files Browse the repository at this point in the history
Make 'morelike' recommendation URL consistent
  • Loading branch information
Pchelolo committed Jan 17, 2019
2 parents eca8040 + 2858f95 commit 524f9fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v1/recommend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ paths:
x-request-handler:
- get_from_backend:
request:
uri: '{{options.host}}/{domain}/v1/translation/articles/{from_lang}/{default(seed_article,"")}'
uri: '{{options.host}}/{domain}/v1/article/creation/translation/{from_lang}/{default(seed_article,"")}'
x-monitor: false
/recommendation/article/morelike/translation/{seed_article}:
/recommendation/article/creation/morelike/{seed_article}:
x-route-filters:
- path: ./lib/access_check_filter.js
options:
Expand Down Expand Up @@ -96,7 +96,7 @@ paths:
x-request-handler:
- get_from_backend:
request:
uri: '{{options.host}}/{{domain}}/v1/article/morelike/translation/{seed_article}'
uri: '{{options.host}}/{{domain}}/v1/article/creation/morelike/{seed_article}'
x-monitor: false
definitions:
recommendation_result:
Expand Down

0 comments on commit 524f9fb

Please sign in to comment.