feat(api): new health endpoint

Signed-off-by: Andrew Hill <andrew@textile.io>
This commit is contained in:
Andrew Hill 2020-08-25 10:47:38 -07:00
parent d5a3447dad
commit fb2e6ee030
No known key found for this signature in database
GPG Key ID: B8929C9860377979
2 changed files with 2 additions and 2 deletions

View File

@ -63,4 +63,4 @@ export const theme = {
export const gateways = { export const gateways = {
ipfs: "ipfs.slate.textile.io", ipfs: "ipfs.slate.textile.io",
} }

View File

@ -107,7 +107,7 @@ const STYLES_LINK = css`
export const getServerSideProps = async (context) => { export const getServerSideProps = async (context) => {
let buckets = false; let buckets = false;
try { try {
const response = await fetch("https://hub.textile.io/health", { const response = await fetch("https://slate.textile.io/health", {
headers: { headers: {
Accept: "application/json", Accept: "application/json",
"Content-Type": "application/json", "Content-Type": "application/json",