Skip to content

Commit

Permalink
Merge pull request #60 from MichaelBuhler/fix-gateway-port
Browse files Browse the repository at this point in the history
fix(api): use the correct port for sandboxed endpoints
  • Loading branch information
thiagocarvalhodev authored Mar 15, 2024
2 parents 22563c0 + 969ab7f commit ad793ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/api/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ class ArweaveApi {
Uri.parse('${gatewayUrl.origin}/$endpoint');

Uri _getSandboxedEndpointUri(String txId) => Uri.parse(
'${gatewayUrl.scheme}://${getSandboxSubdomain(txId)}.${gatewayUrl.host}/$txId',
'${gatewayUrl.scheme}://${getSandboxSubdomain(txId)}.${gatewayUrl.host}:${gatewayUrl.port}/$txId',
);
}

0 comments on commit ad793ab

Please sign in to comment.