Skip to content

Commit c7bfe36

Browse files
authoredNov 22, 2024
Update configuration.md with warning about CORS / redirect URLs
pyscript/pyscript#2244 (reply in thread)
1 parent 176e933 commit c7bfe36

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎docs/user-guide/configuration.md

+6
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ into the target directory in the browser's built in file system.
174174
If there is a duplication PyScript will raise an exception to help you find
175175
the problem.
176176

177+
!!! warning
178+
**Use destination URLs instead of CORS / redirect URLs.**
179+
180+
For example, `https://github.com/pyscript/ltk/raw/refs/heads/main/ltk/jquery.py`
181+
redirects to `https://raw.githubusercontent.com/pyscript/ltk/refs/heads/main/ltk/jquery.py`. Use the latter.
182+
177183
!!! tip
178184

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

0 commit comments

Comments
 (0)
Please sign in to comment.