Skip to content

Commit

Permalink
Use helium blink route
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Jul 17, 2024
1 parent 0737c46 commit 06ee498
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/app/actions.json/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { NextResponse } from "next/server";
// To handle a GET request to /api
export async function GET() {
let response = NextResponse.json(
{
rules: [
{
pathPattern: "/*/proposals/**",
apiPath: "https://actions.dialect.to/api/helium/*/proposals/**",
},
],
},
{ status: 200 }
{
rules: [
{
pathPattern: "/*/proposals/**",
apiPath: "https://helium.dial.to/*/proposals/**",
},
],
},
{ status: 200 }
);
response.headers.set("Access-Control-Allow-Origin", "*");
return response;
Expand Down

0 comments on commit 06ee498

Please sign in to comment.