• Nick Stenning's avatar
    Load API URL from a settings object, not a <link> tag · c1d03a03
    Nick Stenning authored
    The approach of embedding a link tag in the app.html doesn't really give
    us a great deal of flexibility. URLs within the application, perhaps as
    a result, tend to be created either from baseURI or from the API URL,
    called `serviceUrl` in the code.
    
    This commit leaves the <base> tag alone, but:
    
    - replaces the serviceUrl <link> tag with a settings object,
      `window.hypothesis.settings` which is inlined into app.html.
    - replaces the serviceUrl angular service with a generic settings
      service.
    - renames serviceUrl to apiUrl, to make its purpose more obvious.
    c1d03a03
Name
Last commit
Last update
..
account-controller-test.coffee Loading commit data...
annotation-mapper-test.js Loading commit data...
annotation-sync-test.coffee Loading commit data...
annotation-ui-controller-test.coffee Loading commit data...
annotation-ui-sync-test.coffee Loading commit data...
annotation-ui-test.coffee Loading commit data...
annotation-viewer-controller-test.coffee Loading commit data...
app-controller-test.coffee Loading commit data...
auth-controller-test.coffee Loading commit data...
auth-test.js Loading commit data...
blocklist-test.js Loading commit data...
bootstrap.js Loading commit data...
bridge-test.coffee Loading commit data...
create-group-form-test.js Loading commit data...
cross-frame-test.coffee Loading commit data...
discovery-test.coffee Loading commit data...
features-test.js Loading commit data...
form-respond-test.coffee Loading commit data...
groups-test.js Loading commit data...
host-test.coffee Loading commit data...
identity-test.coffee Loading commit data...
local-storage-test.coffee Loading commit data...
permissions-test.coffee Loading commit data...
search-filter-test.coffee Loading commit data...
session-test.js Loading commit data...
store-test.coffee Loading commit data...
stream-controller-test.coffee Loading commit data...
streamer-test.js Loading commit data...
tags-test.coffee Loading commit data...
threading-test.coffee Loading commit data...
time-test.coffee Loading commit data...
unicode-test.coffee Loading commit data...
view-filter-test.coffee Loading commit data...
widget-controller-test.coffee Loading commit data...