Skip to content

Commit

Permalink
Merge pull request #294 from sunrise-stake/develop
Browse files Browse the repository at this point in the history
0.7.8 Blink deployment
  • Loading branch information
dankelleher authored Jun 29, 2024
2 parents 21e1c33 + dfd86a5 commit dc399e0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/app/public/actions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rules": [
{
"pathPattern": "/**",
"apiPath": "https://blink.sunrisestake.com/api/actions/stake"
}
]
}
25 changes: 24 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
{
"installCommand": "yarn install --network-concurrency 2",
"buildCommand": "yarn build",
"outputDirectory": "packages/app/build"
"outputDirectory": "packages/app/build",
"headers": [
{
"source": "/actions.json",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,POST,PUT,OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, Authorization, Content-Encoding, Accept-Encoding"
},
{
"key": "Content-Type",
"value": "application/json"
}
]
}
]
}

0 comments on commit dc399e0

Please sign in to comment.