Change 4bytes subdirectory in preparation for adding trustwallet asset to the same image

This commit is contained in:
Willian Mitsuda 2021-07-07 16:51:52 -03:00
parent 850bf08833
commit 97e542f51e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -16,7 +16,7 @@ const MethodName: React.FC<MethodNameProps> = ({ 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) {