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) {