Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: parse URL with URI.js for better compatibility and maintainability #4873

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

robertu7
Copy link
Contributor

No description provided.

@robertu7 robertu7 requested a review from a team as a code owner September 13, 2024 07:12
Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
matters-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 7:15am


<Script
async
src="https://cdn.jsdelivr.net/npm/uricli@latest/index.js"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we can use browser API instead of an external package. Also, if we need to introduce external packages, please use npm instead.

@@ -37,6 +37,9 @@ const SCRIPT_SRC = [

// Stripe
'js.stripe.com',

// JSDelivr
'cdn.jsdelivr.net',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should avoid adding new items to this whitelist as much as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants