Files
Modrinth-plus/apps/frontend
Mr_chank 02a7774722 fix: add download attribute to fix JAR files saving as ZIP in Chromium (#6065)
* fix: add download attribute to fix JAR files saving as ZIP in Chromium

- JAR files were downloading with a `.zip` extension in Chromium-based browsers (Chrome, Edge, Arc, Brave, Opera, Vivaldi)
- Root cause: JAR files are ZIP archives internally, so Chromium sniffs the `Content-Type` as `application/zip` and overrides the filename extension when no `download` attribute is present
- Fix: add `download="<filename>"` to all file download `<a>` tags so the browser uses the original filename from the API

* fix: add download attribute to remaining download links

Missed in initial pass: changelog page button, versions overflow
menu, settings/versions overflow menu. Also adds `download` prop
to Button and OverflowMenu to support dropdown link items.

Adds missing `getPrimaryFile` definition in changelog.vue.

---------

Co-authored-by: Mr_chank <180248271+chank-op@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2026-05-15 14:58:26 +00:00
..
2025-05-07 19:08:38 -07:00
2025-05-07 19:08:38 -07:00
2024-07-04 21:46:29 -07:00
2026-02-27 17:21:35 +00:00
2024-07-04 21:46:29 -07:00
2024-07-25 15:49:22 +00:00

Frontend Cover

Modrinth Web Interface

Welcome to the Modrinth Web Interface! This web-based platform is designed for discovering, downloading, and managing Minecraft mods.

If you're not a developer and you've stumbled upon this repository, you can access the web interface on the Modrinth website.

Development

Pre-requisites

Before you begin, ensure you have the following installed on your machine:

Setup

Follow these steps to set up your development environment:

pnpm install
pnpm web:dev

You should now have a development build of the web interface running with hot-reloading enabled. Any changes you make to the code will automatically refresh the browser.