Skip to content

Commit e2feba7

Browse files
authored
Merge pull request #153 from sgbaird/patch-1
Update configuration.md with warning about CORS / redirect URLs
2 parents 2d93884 + c7bfe36 commit e2feba7

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
@@ -176,6 +176,12 @@ into the target directory in the browser's built in file system.
176176
If there is a duplication PyScript will raise an exception to help you find
177177
the problem.
178178

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

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

0 commit comments

Comments
 (0)