nobsdelivr/templates/index.html

34 lines
967 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>nobsdelivr</title>
<link
href="/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
/>
</head>
<body>
<div class="container text-center mt-5">
<h1 class="display-4">Welcome to nobsdelivr</h1>
<p class="lead">
nobsdelivr is a simple proxy to cdn.jsdelivr.net. Use it to proxy your
requests to the CDN.
</p>
<hr class="my-4" />
<p>
To use the proxy, simply replace
<code>https://cdn.jsdelivr.net</code> with <code>{{ domain }}</code> in
the URL.
</p>
<p>Example:</p>
<code>{{ domain }}npm/bootstrap@5.1.3/dist/css/bootstrap.min.css</code>
</div>
<script src="/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>