Skip to content

Commit 6ad0d16

Browse files
Potential fix for code scanning alert no. 9: Incomplete regular expression for hostnames (#100)
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 398296f commit 6ad0d16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/cypress/support/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function registerCommands() {
144144

145145
Cypress.Commands.add('interceptGraphqlOperation', (operationName, fixturePath) => {
146146
const graphqlInterceptions = Cypress.env('graphqlInterceptions')
147-
cy.intercept(/(?:interface|beta).gateway.uniswap.org\/v1\/graphql/, (req) => {
147+
cy.intercept(/(?:interface|beta)\.gateway\.uniswap\.org\/v1\/graphql/, (req) => {
148148
req.headers['origin'] = 'https://app.uniswap.org'
149149
const currentOperationName = req.body.operationName
150150

0 commit comments

Comments
 (0)