Skip to content

Commit

Permalink
chore(nft-quest): enable cors for nft metadata (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote authored Dec 5, 2024
1 parent 7b2521c commit b53b9fe
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,26 @@
"target": "nft-quest-testnet",
"trailingSlash": false,
"public": "examples/nft-quest/.output/public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"headers": [
{
"source": "/nft/metadata.json",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type"
}
]
}
]
}
]
}

0 comments on commit b53b9fe

Please sign in to comment.