Change 4bytes subdirectory in preparation for adding trustwallet asset to the same image
This commit is contained in:
parent
850bf08833
commit
97e542f51e
|
@ -1,3 +1,3 @@
|
||||||
FROM nginx:1.21.1-alpine
|
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
|
COPY nginx-4bytes.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
|
@ -16,7 +16,7 @@ const MethodName: React.FC<MethodNameProps> = ({ data }) => {
|
||||||
|
|
||||||
// Try to resolve 4bytes name
|
// Try to resolve 4bytes name
|
||||||
const fourBytes = _name.slice(2);
|
const fourBytes = _name.slice(2);
|
||||||
const signatureURL = `http://localhost:3001/${fourBytes}`;
|
const signatureURL = `http://localhost:3001/signatures/${fourBytes}`;
|
||||||
fetch(signatureURL)
|
fetch(signatureURL)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
|
|
Loading…
Reference in New Issue