Commit graph

3 commits

Author SHA1 Message Date
052eeb7531
feat: replace redirect with proxy content fetching
Modified the proxy route to fetch and return the content directly from the target URL instead of redirecting. This change leverages `urlopen` to read the response and send its content back to the client, enhancing user experience by keeping them on the same page and avoiding potential CORS issues.
2024-08-03 16:26:09 +02:00
8a37bc9f2c
feat: switch CDN from jsdelivr to Cloudflare
Updated the proxy route to use Cloudflare CDN instead of jsdelivr. Corresponding changes made in the HTML to reflect the new CDN, along with a rebrand from "nobsdelivr" to "nocdnbs". This enhances CDN reliability and availability.
2024-08-03 16:12:47 +02:00
c4054c1374
feat: add Flask proxy app for cdn.jsdelivr.net
Introduce a simple Flask app that proxies requests to cdn.jsdelivr.net.
Includes basic routing for home and proxy endpoints, and a template
render for the home page explaining usage. Added Flask to
requirements.txt and updated .gitignore to exclude venv and __pycache__.
2024-08-03 08:40:59 +02:00