From 71a7749721cbb33c957c5438af956a6d1279a8e9 Mon Sep 17 00:00:00 2001 From: Eddie Wang Date: Tue, 3 Dec 2019 17:30:51 -0500 Subject: [PATCH] resolve to /api --- packages/siaviewnode-client/src/components/Dropzone.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/siaviewnode-client/src/components/Dropzone.tsx b/packages/siaviewnode-client/src/components/Dropzone.tsx index 47cc11e5..6162f2c6 100644 --- a/packages/siaviewnode-client/src/components/Dropzone.tsx +++ b/packages/siaviewnode-client/src/components/Dropzone.tsx @@ -8,7 +8,7 @@ import { CircularProgress } from "@material-ui/core" /** * nginx is setup to automatically handle and rewrite the url path. */ -const API_ENDPOINT = "http://144.76.136.122/api" +const API_ENDPOINT = "/api" const pName = R.prop("name")