fix: replace tom1687.no-ip.org with 192.168.1.176, add DateTimeEncoder for API datetime serialization

This commit is contained in:
maik
2026-06-29 16:07:54 +00:00
parent b12b3e35f4
commit a13e614371
7 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import { NextRequest, NextResponse } from 'next/server';
import { createPublicClient, http, type Address, type Hash, type Chain } from 'viem';
import { IPFS_PORTAL_PAYMENT_ABI } from '@/lib/payment';
const RPC_URL = process.env.ZKSYNC_RPC_URL || 'http://tom1687.no-ip.org:3050';
const RPC_URL = process.env.ZKSYNC_RPC_URL || 'http://192.168.1.176:3050';
const CONTRACT_ADDRESS = (process.env.PAYMENT_CONTRACT_ADDRESS || '0xCBc6b8aeea129c206F4836799621C833Bf8B9BDe') as Address;
const zkSyncLocal: Chain = {