Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix(gateway): use arweave.net
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Nov 24, 2023
1 parent 8a6d9b7 commit 6c16d03
Show file tree
Hide file tree
Showing 3 changed files with 304 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"@commitlint/config-conventional": "^17.7.0",
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"arweave": "^1.13.7",
"arweave": "1.13.7",
"jq": "^1.7.2",
"koa": "^2.14.2",
"koa-bodyparser": "^4.4.0",
"koa-router": "^12.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/middleware/arweave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Arweave from 'arweave';
export const arweave = new Arweave({
protocol: process.env.GATEWAY_PROTOCOL ?? 'https',
port: process.env.GATEWAY_PORT ?? 443,
host: process.env.GATEWAY_HOST ?? 'ar-io.dev',
host: process.env.GATEWAY_HOST ?? 'arweave.net',
});

export function arweaveMiddleware(ctx: KoaContext, next: Next) {
Expand Down
Loading

0 comments on commit 6c16d03

Please sign in to comment.