From 9befe6df91ed038017fc47e2199bbaff5f63c191 Mon Sep 17 00:00:00 2001
From: chris48s When server source files change, the badge server should automatically restart
itself (using nodemon). When the frontend files change, the frontend dev
-server ( To debug a badge from the command line, run
diff --git a/badge-maker_lib_xml.js.html b/badge-maker_lib_xml.js.html
index f4aeb0a634..36e9c1171f 100644
--- a/badge-maker_lib_xml.js.html
+++ b/badge-maker_lib_xml.js.html
@@ -138,7 +138,7 @@ module.exports = { escapeXml, stripXmlWhitespace, XmlElement, ElementList }
diff --git a/core_base-service_base-graphql.js.html b/core_base-service_base-graphql.js.html
index 7f85d590ee..7d61242994 100644
--- a/core_base-service_base-graphql.js.html
+++ b/core_base-service_base-graphql.js.html
@@ -144,7 +144,7 @@ export default BaseGraphqlService
diff --git a/core_base-service_base-json.js.html b/core_base-service_base-json.js.html
index 23852debe8..639a938911 100644
--- a/core_base-service_base-json.js.html
+++ b/core_base-service_base-json.js.html
@@ -110,7 +110,7 @@ export default BaseJsonService
diff --git a/core_base-service_base-svg-scraping.js.html b/core_base-service_base-svg-scraping.js.html
index ea197cedef..7e09323890 100644
--- a/core_base-service_base-svg-scraping.js.html
+++ b/core_base-service_base-svg-scraping.js.html
@@ -141,7 +141,7 @@ export default BaseSvgScrapingService
diff --git a/core_base-service_base-xml.js.html b/core_base-service_base-xml.js.html
index d8a926815f..05989af61d 100644
--- a/core_base-service_base-xml.js.html
+++ b/core_base-service_base-xml.js.html
@@ -120,7 +120,7 @@ export default BaseXmlService
diff --git a/core_base-service_base-yaml.js.html b/core_base-service_base-yaml.js.html
index 700a836248..a4822e1394 100644
--- a/core_base-service_base-yaml.js.html
+++ b/core_base-service_base-yaml.js.html
@@ -123,7 +123,7 @@ export default BaseYamlService
diff --git a/core_base-service_base.js.html b/core_base-service_base.js.html
index 0599517553..05759effbd 100644
--- a/core_base-service_base.js.html
+++ b/core_base-service_base.js.html
@@ -642,7 +642,7 @@ export default BaseService
diff --git a/core_base-service_errors.js.html b/core_base-service_errors.js.html
index 97e0662214..55766b9721 100644
--- a/core_base-service_errors.js.html
+++ b/core_base-service_errors.js.html
@@ -265,7 +265,7 @@ export {
diff --git a/core_base-service_graphql.js.html b/core_base-service_graphql.js.html
index b9319a0400..4d4ad323aa 100644
--- a/core_base-service_graphql.js.html
+++ b/core_base-service_graphql.js.html
@@ -93,7 +93,7 @@ export { mergeQueries }
diff --git a/core_base-service_resource-cache.js.html b/core_base-service_resource-cache.js.html
index ac0d37804c..cc4d7d4294 100644
--- a/core_base-service_resource-cache.js.html
+++ b/core_base-service_resource-cache.js.html
@@ -111,7 +111,7 @@ export { getCachedResource, clearResourceCache }
diff --git a/core_server_prometheus-metrics.js.html b/core_server_prometheus-metrics.js.html
index e9dd5a0996..e49985159f 100644
--- a/core_server_prometheus-metrics.js.html
+++ b/core_server_prometheus-metrics.js.html
@@ -127,7 +127,7 @@ export default class PrometheusMetrics {
diff --git a/core_server_server.js.html b/core_server_server.js.html
index 0138548713..472acdae0d 100644
--- a/core_server_server.js.html
+++ b/core_server_server.js.html
@@ -390,7 +390,7 @@ class Server {
})
if (!rasterUrl) {
- camp.route(/\.png$/, (query, match, end, request) => {
+ camp.route(/^\/((?!img\/)).*\.png$/, (query, match, end, request) => {
makeSend(
'svg',
request.res,
@@ -440,7 +440,7 @@ class Server {
if (rasterUrl) {
// Redirect to the raster server for raster versions of modern badges.
- camp.route(/\.png$/, (queryParams, match, end, ask) => {
+ camp.route(/^\/((?!img\/)).*\.png$/, (queryParams, match, end, ask) => {
ask.res.statusCode = 301
ask.res.setHeader(
'Location',
@@ -636,7 +636,7 @@ export default Server
diff --git a/core_service-test-runner_create-service-tester.js.html b/core_service-test-runner_create-service-tester.js.html
index 2fd1d24cda..a6fe98524b 100644
--- a/core_service-test-runner_create-service-tester.js.html
+++ b/core_service-test-runner_create-service-tester.js.html
@@ -74,7 +74,7 @@ export default createServiceTester
diff --git a/core_service-test-runner_icedfrisby-shields.js.html b/core_service-test-runner_icedfrisby-shields.js.html
index 7369ef3494..7258fa1424 100644
--- a/core_service-test-runner_icedfrisby-shields.js.html
+++ b/core_service-test-runner_icedfrisby-shields.js.html
@@ -146,7 +146,7 @@ export default factory
diff --git a/core_service-test-runner_runner.js.html b/core_service-test-runner_runner.js.html
index 38a1f3a4da..f3f92bffe7 100644
--- a/core_service-test-runner_runner.js.html
+++ b/core_service-test-runner_runner.js.html
@@ -118,7 +118,7 @@ export default Runner
diff --git a/core_service-test-runner_service-tester.js.html b/core_service-test-runner_service-tester.js.html
index 2396f429bb..fdc149fc4d 100644
--- a/core_service-test-runner_service-tester.js.html
+++ b/core_service-test-runner_service-tester.js.html
@@ -184,7 +184,7 @@ export default ServiceTester
diff --git a/core_service-test-runner_services-for-title.js.html b/core_service-test-runner_services-for-title.js.html
index edec7a1450..c2b3231181 100644
--- a/core_service-test-runner_services-for-title.js.html
+++ b/core_service-test-runner_services-for-title.js.html
@@ -75,7 +75,7 @@ export default servicesForTitle
diff --git a/core_token-pooling_token-pool.js.html b/core_token-pooling_token-pool.js.html
index 6ccaf158d4..66b592acb8 100644
--- a/core_token-pooling_token-pool.js.html
+++ b/core_token-pooling_token-pool.js.html
@@ -379,7 +379,7 @@ export { sanitizeToken, Token, TokenPool }
diff --git a/global.html b/global.html
index 24eaa10460..bfde6057a3 100644
--- a/global.html
+++ b/global.html
@@ -684,7 +684,7 @@
diff --git a/index.html b/index.html
index 5320d88eee..304ba98120 100644
--- a/index.html
+++ b/index.html
@@ -127,7 +127,7 @@ Tests need to pass in Node 16 and 17.
gatsby dev) should also automatically reload. However the badge
+server (docusaurus start) should also automatically reload. However the badge
definitions are built only before the server first starts. To regenerate those,
either run npm run defs or manually restart the server.npm run badge -- /npm/v/nock.
@@ -220,7 +220,7 @@ under their terms and license.
diff --git a/module-badge-maker.html b/module-badge-maker.html
index dc1dd167cb..1f8617ff23 100644
--- a/module-badge-maker.html
+++ b/module-badge-maker.html
@@ -429,7 +429,7 @@
diff --git a/module-badge-maker_lib_xml-ElementList.html b/module-badge-maker_lib_xml-ElementList.html
index b158bb983b..f3b6439749 100644
--- a/module-badge-maker_lib_xml-ElementList.html
+++ b/module-badge-maker_lib_xml-ElementList.html
@@ -163,7 +163,7 @@ like an XmlElement but renders multiple XML tags (not wrapped in a
foobar@v1.23. D
:user/:repo.
The Shields codebase is divided into several parts:
The tests are also divided into several parts:
frontend/**/*.spec.jsbadge-maker/**/*.spec.jsservices/*/**/*.spec.jscypress/e2e/*.cy.jscore/service-test-runnerlocal-shields-io-production.yml (see
diff --git a/tutorial-releases.html b/tutorial-releases.html
index edf3fcf109..4abbbda3d5 100644
--- a/tutorial-releases.html
+++ b/tutorial-releases.html
@@ -79,7 +79,7 @@
If you want to host the frontend on a separate server, such as cloud storage or a CDN, you can do that.
-First, build the frontend, pointing GATSBY_BASE_URL to your server.
GATSBY_BASE_URL=https://your-server.example.com npm run build
+First, build the frontend, pointing BASE_URL to your server.
+BASE_URL=https://your-server.example.com npm run build
-Then copy the contents of the build/ folder to your static hosting / CDN.
+Then copy the contents of the public/ folder to your static hosting / CDN.
There are also a couple settings you should configure on the server.
To help out users, you can make the Shields server redirect the server root.
Set the REDIRECT_URI environment variable:
@@ -180,7 +180,7 @@ Set public.requireCloudflare: true.
diff --git a/tutorial-server-secrets.html b/tutorial-server-secrets.html
index 03979e57d6..012d4160f5 100644
--- a/tutorial-server-secrets.html
+++ b/tutorial-server-secrets.html
@@ -294,7 +294,7 @@ and create an API key for the YouTube Data API v3.
diff --git a/tutorial-service-tests.html b/tutorial-service-tests.html
index 3f127867cf..5c6e73b6a8 100644
--- a/tutorial-service-tests.html
+++ b/tutorial-service-tests.html
@@ -246,7 +246,7 @@ comment there instead.
diff --git a/tutorial-static-badges.html b/tutorial-static-badges.html
index 8a0663d56f..21ba32f262 100644
--- a/tutorial-static-badges.html
+++ b/tutorial-static-badges.html
@@ -51,7 +51,7 @@