Skip to content

Commit

Permalink
chore: update logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zouhangwithsweet committed Nov 15, 2024
1 parent e7cf7f6 commit c02719f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions public/rules/figma.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
[
{
"id": 1,
"priority": 1,
"priority": 10,
"action": {
"type": "redirect",
"redirect": {
"extensionPath": "/figma.js"
}
"type": "modifyHeaders",
"responseHeaders": [
{
"header": "Content-Security-Policy",
"operation": "remove"
}
]
},
"condition": {
"regexFilter": "/\\d+-[0-9a-f]+\\.min\\.js\\.br$",
"resourceTypes": [
"script"
"main_frame"
]
}
},
{
"id": 2,
"priority": 1,
"action": {
"type": "modifyHeaders",
"responseHeaders": [
{
"header": "Content-Security-Policy",
"operation": "remove"
}
]
"type": "redirect",
"redirect": {
"extensionPath": "/figma.js"
}
},
"condition": {
"regexFilter": "/\\d+-[0-9a-f]+\\.min\\.js\\.br$",
"resourceTypes": [
"main_frame"
"script"
]
}
}
Expand Down

0 comments on commit c02719f

Please sign in to comment.