Skip to content

Commit 7467fa8

Browse files
committed
Docs: serve markdown files via Firebase instead of jsdelivr
Might make a few corporate web proxies happier
1 parent 61640fb commit 7467fa8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/firebase.json

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
".*",
77
"build.js",
88
"firebase.json",
9-
"*.md",
109
"image/**",
1110
"search-index/**"
1211
],

docs/index.html

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="Resize large images in common formats to smaller, web-friendly JPEG, PNG, WebP and AVIF images of varying dimensions">
88
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; object-src 'none'; style-src 'unsafe-inline';
99
img-src 'unsafe-inline' data: https://pixel.plumbing/px/ https://cdn.jsdelivr.net/gh/lovell/ https://www.google-analytics.com;
10-
connect-src 'self' https://cdn.jsdelivr.net/gh/lovell/ https://www.google-analytics.com;
10+
connect-src 'self' https://www.google-analytics.com;
1111
script-src 'unsafe-inline' 'unsafe-eval'
1212
https://cdn.jsdelivr.net/npm/docute@4/dist/docute.min.js
1313
https://www.google-analytics.com/analytics.js;">
@@ -19,8 +19,6 @@
1919
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://pixel.plumbing/px/72x72/sharp-logo.svg">
2020
<link rel="apple-touch-icon-precomposed" href="https://pixel.plumbing/px/57x57/sharp-logo.svg">
2121
<link rel="author" href="/humans.txt" type="text/plain">
22-
<link rel="preload" href="https://cdn.jsdelivr.net/gh/lovell/[email protected]/docs/README.md" as="fetch" type="text/markdown" crossorigin>
23-
<link rel="preload" href="https://cdn.jsdelivr.net/gh/lovell/sharp@master/docs/image/sharp-logo.svg" as="image" type="image/svg+xml" crossorigin>
2422
<link rel="dns-prefetch" href="https://pixel.plumbing">
2523
<link rel="dns-prefetch" href="https://www.google-analytics.com">
2624
<script type="application/ld+json">
@@ -139,7 +137,6 @@
139137
docuteApiTitlePlugin,
140138
docuteApiSearchPlugin
141139
],
142-
sourcePath: 'https://cdn.jsdelivr.net/gh/lovell/[email protected]/docs',
143140
nav: [
144141
{
145142
title: 'Funding',

0 commit comments

Comments
 (0)