Skip to content

Commit

Permalink
Change regex
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeMalkin authored Dec 20, 2023
1 parent 6540c78 commit f354e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docspace-viewer-request/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const handler = async (event, context, callback) => {

console.log("Tenant domain: %s", tenantDomain);

const workspaceRegex = /(\/products\/|\/addons\/|.aspx)/i;
const workspaceRegex = /(\/products\/|\/addons\/|\.aspx)/i;
const confirmPageRegex = /confirm\.aspx/i;

if (workspaceRegex.test(request.uri) && !confirmPageRegex.test(request.uri))
Expand Down

0 comments on commit f354e5d

Please sign in to comment.