Commit graph

5 commits

Author SHA1 Message Date
c519a056c2
feat(proxy): improve streaming and error handling
Enhanced proxy endpoint by adding streaming support to handle large files efficiently. Introduced error handling for various HTTP errors and Internal Server errors to provide more robust feedback. Updated content disposition to handle attachment downloads properly.
2024-08-03 16:33:32 +02:00
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
e6373d0535
feat: redesign layout with hero section and footer
Added a hero section for better user engagement and moved informational content into a clearer main section. The footer with a credit link enhances credibility. Extra styling improves readability with a structured presentation. Updated bootstrap resource links for consistency.
2024-08-03 11:15:36 +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