diff --git a/src/app.mjs b/src/app.mjs index da5a28c9..97a21ca3 100644 --- a/src/app.mjs +++ b/src/app.mjs @@ -40,7 +40,7 @@ }) //Base routes - const limiter = ratelimit({max:60, windowMs:60*1000}) + const limiter = ratelimit({max:debug ? Number.MAX_SAFE_INTEGER : 60, windowMs:60*1000}) const templates = [...new Set([conf.settings.templates.default, ...(conf.settings.templates.enabled.length ? Object.keys(Templates).filter(key => conf.settings.templates.enabled.includes(key)) : Object.keys(Templates))])] const enabled = Object.entries(plugins).filter(([key, plugin]) => plugin.enabled).map(([key]) => key) const actions = {flush:new Map()} diff --git a/src/templates/classic/image.svg b/src/templates/classic/image.svg index 58807cb9..1aa78d4e 100644 --- a/src/templates/classic/image.svg +++ b/src/templates/classic/image.svg @@ -1,13 +1,13 @@ ${user.login}@metrics:~${computed.token.scopes.includes("repo") ? "#" : "$"}` @@ -52,13 +55,13 @@
<%# -%> <% if (base.metadata) { %> -