Skip to content

Commit

Permalink
fix: move logs route back to node.js runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
rkalis committed Dec 12, 2024
1 parent 0e302f8 commit 45559b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/api/[chainId]/logs/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ interface Props {
};
}

export const runtime = 'edge';
export const preferredRegion = ['iad1'];

export async function POST(req: NextRequest, { params }: Props) {
if (!(await checkActiveSessionEdge(req))) {
return new Response(JSON.stringify({ message: 'No API session is active' }), { status: 403 });
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/chains.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const TEST_ADDRESSES = {
[ChainId.ZkSyncSepoliaTestnet]: '0x46D8e47b9A6487FDAB0a700b269A452cFeED49Aa',
} as const;

describe('Chain Support', () => {
describe(`Chain Support (${TEST_URL})`, () => {
it('should have a test for every item in the chain selection dropdown menu', () => {
cy.visit(`${TEST_URL}/address/0xe126b3E5d052f1F575828f61fEBA4f4f2603652a`, { timeout: 10_000 });
cy.wait(1000); // Since App Router we now need this delay before the page is fully loaded -__-
Expand Down

0 comments on commit 45559b1

Please sign in to comment.