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

Update configuration.md with warning about CORS / redirect URLs #153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/user-guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ into the target directory in the browser's built in file system.
If there is a duplication PyScript will raise an exception to help you find
the problem.

!!! warning
**Use destination URLs instead of CORS / redirect URLs.**

For example, `https://github.com/pyscript/ltk/raw/refs/heads/main/ltk/jquery.py`
redirects to `https://raw.githubusercontent.com/pyscript/ltk/refs/heads/main/ltk/jquery.py`. Use the latter.

!!! tip

**For most people, most of the time, the simple URL to filename mapping,
Expand Down