diff --git a/app.py b/app.py index 6d90845..79d3858 100644 --- a/app.py +++ b/app.py @@ -9,7 +9,7 @@ def home(): @app.route('/') def proxy(url): - jsdelivr_url = f'https://cdn.jsdelivr.net/{url}' + jsdelivr_url = f'https://cdnjs.cloudflare.com/{url}' return redirect(jsdelivr_url) if __name__ == '__main__': diff --git a/templates/index.html b/templates/index.html index 4938d1c..ebb5594 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,9 +6,9 @@ name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> - nobsdelivr + nocdnbs