Skip to content

Commit

Permalink
Merge pull request #5427 from hypothesis/remove-service-url-client-co…
Browse files Browse the repository at this point in the history
…nfig

Remove "serviceUrl" key from client sidebar config
  • Loading branch information
robertknight committed Nov 21, 2018
2 parents dc6981e + 95c93b9 commit 8ea8e6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion h/views/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def sidebar_app(request, extra=None):
'authDomain': request.default_authority,
'oauthClientId': settings.get('h.client_oauth_id'),
'release': __version__,
'serviceUrl': request.route_url('index'),

# The list of origins that the client will respond to cross-origin RPC
# requests from.
Expand Down
1 change: 0 additions & 1 deletion tests/h/views/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def test_it_includes_client_config(self, pyramid_request):
expected_config = {
'apiUrl': 'http://example.com/api',
'websocketUrl': 'wss://example.com/ws',
'serviceUrl': 'http://example.com/',
'release': __version__,
'raven': {
'dsn': 'test-sentry-dsn',
Expand Down

0 comments on commit 8ea8e6f

Please sign in to comment.