Unverified Commit a4a77595 authored by Rich Haines's avatar Rich Haines Committed by GitHub

Added warning about trusted domains (#30348)

parent c7e4c854
...@@ -6,6 +6,9 @@ description: Configure Next.js to allow importing modules from external URLs. ...@@ -6,6 +6,9 @@ description: Configure Next.js to allow importing modules from external URLs.
URL Imports are an experimental feature that allows you to import modules directly from external servers (instead of from the local disk). URL Imports are an experimental feature that allows you to import modules directly from external servers (instead of from the local disk).
> **Warning**: This feature is experimental. Only use domains that you trust to download and execute on your machine. Please exercise
> discretion, and caution until the feature is flagged as stable.
To opt-in, add the allowed URL prefixes inside `next.config.js`: To opt-in, add the allowed URL prefixes inside `next.config.js`:
```js ```js
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment