diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-09 14:14:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-09 14:14:45 +0200 |
| commit | 4f1c48bf32ded0ce1277b6483bdac7ec489f055f (patch) | |
| tree | 1a2c7c09fb87731086ddcdb6570f710ad5cd56b2 /opendc-web/opendc-web-ui/src/api/routes | |
| parent | fb84d53278fa59a7c7a95538747563a0aed692a2 (diff) | |
| parent | f79c0872ddfcbe02a7bcc498b4a9d5d202caccd2 (diff) | |
ui: Update OpenDC homepage
This pull request contains various updates to the opendc.org homepage,
in order to reflect the updates from OpenDC 2.0.
Diffstat (limited to 'opendc-web/opendc-web-ui/src/api/routes')
| -rw-r--r-- | opendc-web/opendc-web-ui/src/api/routes/token-signin.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/src/api/routes/token-signin.js b/opendc-web/opendc-web-ui/src/api/routes/token-signin.js index e40127f2..ced5d2e0 100644 --- a/opendc-web/opendc-web-ui/src/api/routes/token-signin.js +++ b/opendc-web/opendc-web-ui/src/api/routes/token-signin.js @@ -1,5 +1,7 @@ +import config from '../../config' + export function performTokenSignIn(token) { - const apiUrl = window.$$env['API_BASE_URL'] || '' + const apiUrl = config['API_BASE_URL'] return fetch(`${apiUrl}/tokensignin`, { method: 'POST', |
