Skip to content

fix: Count Moe-Counter's canonical /@name path - #7

Merged
Fuwn merged 16 commits into
mainfrom
fix/moe-counter-compatibility
Dec 2, 2026
Merged

Fuwn merged 16 commits into
mainfrom
fix/moe-counter-compatibility

Conversation

@Fuwn

@Fuwn Fuwn commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Moe-Counter's homepage gives /@name as its main embed snippet. Mayu redirected that path, so embeds migrated from Moe-Counter stopped counting. /@name now counts like /get/@name. Mayu also matches two more Moe-Counter behaviours: it accepts padding up to 16, and clients may cache the constant demo image for a year.

Embeds that ask for 13 to 16 digits now get them instead of 12. When the requested theme is not loaded, or no theme is loaded, Mayu leaves the fallback demo rendering uncached. A theme added later then appears on the next request, not a year later. Mayu keeps its own defaults of 6 digits and the asoul theme. Moe-Counter's defaults of 7 digits and moebooru would change every existing Mayu embed that omits padding or theme. The smaller review fixes each have their own commit.

Fuwn added 16 commits December 2, 2026 09:38
crystal-pg 0.32.0 is the first release that verifies PostgreSQL
certificates, added in will/crystal-pg#311. Mayu pinned a master commit
to get that verification. With 0.32.0 released, the dependency tracks
releases again.
Moe-Counter's homepage gives /@name as its main embed snippet. Mayu
redirected that path, so embeds migrated from Moe-Counter stopped
counting.
@Fuwn
Fuwn merged commit 8f54556 into main Dec 2, 2026
2 checks passed
@Fuwn
Fuwn deleted the fix/moe-counter-compatibility branch December 2, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant