Skip to content

Commit

Permalink
Synchronize client/app
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinfayet committed Nov 19, 2015
1 parent 560b047 commit 4fb1361
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions application/language/language/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
router.register(r'accounts', AccountViewSet)

urlpatterns = [
url(r'^api/v1/', include(router.urls)),
url(r'^api/v1/auth/login/$', LoginView.as_view(), name='login')
url(r'^api1/', include(router.urls)),
url(r'^api1/auth/login/$', LoginView.as_view(), name='login')
]
2 changes: 1 addition & 1 deletion client/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ http {
}

location /api/v1 {
rewrite ^/api1/(.*) /api/v1/$1 break;
rewrite ^/api/v1/(.*) /api1/$1 break;
proxy_redirect off;
proxy_pass http://pythonapp:8000;
}
Expand Down

0 comments on commit 4fb1361

Please sign in to comment.