Skip to content

Commit

Permalink
Merge pull request #520 from monarch-initiative/use-api-v2
Browse files Browse the repository at this point in the history
Switch v2 Monarch UI to use api-v2 hostname
  • Loading branch information
kevinschaper committed Jan 25, 2024
2 parents 6021d55 + 1a45559 commit 081482a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ For detailed information on the structure of the code and how to contribute, see

### Overall Architecture

The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application.
The UI is a VueJS single-page application that is loaded into the browser as a static set of Javascript, HTML, CSS, and media resources. Subsequent dynamic data is delivered to the browser via `XMLHttpRequest` calls to various backend services, primarily [BioLink](https://api-biolink.monarchinitiative.org). The data returned from these calls is then displayed appropriately in the web application.

- Source: https://github.com/monarch-initiative/monarch-ui
- Monarch Initiative UI: https://monarchinitiative.org
- [BioLink](https://api.monarchinitiative.org) service to access Monarch's data
- [BioLink](https://api-biolink.monarchinitiative.org) service to access Monarch's data

The VueJS application is built from source code via a modern chain of tools that deal with resource bundling, minification, and transpilation:

Expand Down
2 changes: 1 addition & 1 deletion src/api/bio-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {

// versions/environments of api servers
const versions = {
production: "https://api.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain)
production: "https://api-biolink.monarchinitiative.org/api/", // GOOGLE CLOUD (new DNS under monarch domain)
beta: "https://api-dev.monarchinitiative.org/api/",
};

Expand Down
2 changes: 1 addition & 1 deletion src/views/Services.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
src="../assets/img/biolink_logo_white.png"
/><br /><br />
<b-button
href="https://api.monarchinitiative.org/api/"
href="https://api-biolink.monarchinitiative.org/api/"
target="_blank"
class="documentation"
variant="outline-light"
Expand Down

0 comments on commit 081482a

Please sign in to comment.