Skip to content

Commit

Permalink
Fix server communication for the API Zoo Index webpage (#199)
Browse files Browse the repository at this point in the history
This PR fixes the API Zoo Index server communication errors by switching
from HTTP to HTTPS. It also makes the font on the new API Zoo Index page
match the Gorilla landing page.

---------

Co-authored-by: Raman Varma <[email protected]>
  • Loading branch information
ramanv0 and Raman Varma authored Feb 19, 2024
1 parent 5954ce2 commit 9b3fa1b
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apizoo/app/src/components/ApiZoo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
methods: {
async fetchApis() {
try {
const response = await fetch('http://34.123.98.138/api/data');
const response = await fetch('https://apizooindex.gorilla-llm.com/api/data');
if (!response.ok) throw new Error('Failed to fetch');
const data = await response.json();
this.apis = data;
Expand Down
1 change: 1 addition & 0 deletions apizoo/css/app.272fe9a9.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion apizoo/css/app.97dad8d6.css

This file was deleted.

8 changes: 5 additions & 3 deletions apizoo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" href="/apizoo/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
<title>Gorilla</title>
<link href="https://cdn.jsdelivr.net/npm/@mdi/font/css/materialdesignicons.min.css" rel="stylesheet">
<script defer="defer" src="/apizoo/js/chunk-vendors.0ff7f38c.js"></script><script defer="defer" src="/apizoo/js/app.8bb900bb.js"></script>
<script defer="defer" src="/apizoo/js/chunk-vendors.0ff7f38c.js"></script><script defer="defer" src="/apizoo/js/app.829e3fec.js"></script>
<link href="/apizoo/css/chunk-vendors.a3c7e445.css" rel="stylesheet">
<link href="/apizoo/css/app.97dad8d6.css" rel="stylesheet">
<link href="/apizoo/css/app.272fe9a9.css" rel="stylesheet">
</head>
<body>
<noscript><strong>We're sorry but Gorilla doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript>
Expand Down
2 changes: 2 additions & 0 deletions apizoo/js/app.829e3fec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apizoo/js/app.829e3fec.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 9b3fa1b

Please sign in to comment.