Deploying to gh-pages from @ badges/shields@50ea7068a8 🚀

This commit is contained in:
chris48s
2023-06-17 10:00:38 +00:00
parent abe8f12c0c
commit 9befe6df91
108 changed files with 120 additions and 120 deletions

View File

@@ -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
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 18:21:37 GMT+0000 (Coordinated Universal Time)
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Jun 17 2023 10:00:37 GMT+0000 (Coordinated Universal Time)
</footer>
<script> prettyPrint(); </script>