From 97e542f51e9061f293de633e9a825926623e6f39 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 7 Jul 2021 16:51:52 -0300 Subject: [PATCH] Change 4bytes subdirectory in preparation for adding trustwallet asset to the same image --- Dockerfile-4bytes | 2 +- src/components/MethodName.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-4bytes b/Dockerfile-4bytes index 9d308d9..651cb25 100644 --- a/Dockerfile-4bytes +++ b/Dockerfile-4bytes @@ -1,3 +1,3 @@ FROM nginx:1.21.1-alpine -COPY 4bytes/signatures /usr/share/nginx/html/ +COPY 4bytes/signatures /usr/share/nginx/html/signatures/ COPY nginx-4bytes.conf /etc/nginx/conf.d/default.conf diff --git a/src/components/MethodName.tsx b/src/components/MethodName.tsx index 70742e0..27ad8ca 100644 --- a/src/components/MethodName.tsx +++ b/src/components/MethodName.tsx @@ -16,7 +16,7 @@ const MethodName: React.FC = ({ data }) => { // Try to resolve 4bytes name const fourBytes = _name.slice(2); - const signatureURL = `http://localhost:3001/${fourBytes}`; + const signatureURL = `http://localhost:3001/signatures/${fourBytes}`; fetch(signatureURL) .then(async (res) => { if (!res.ok) {