magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
12.01k stars 475 forks source link

[Bug]: Registry schema mis-redirect from shadcn CLI #382

Closed Lenghak closed 1 week ago

Lenghak commented 1 month ago

Describe the bug The registry of the url https://magicui.design/r/index.json has redirected to https://magicui.design/r/styles/default/index.json.json This prevent the new shadcnCLI from getting the correct components and failed installation process for magic ui.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://magicui.design/r/index.json
  2. See error

Expected behavior The registry url should output the correct json file for CLI to correctly install the components

Screenshots The screenshot showed the error page with the url after requesting to the https://magicui.design/r/index.json from web browser

image

Desktop (please complete the following information):

dillionverma commented 1 week ago

Fixed! Thanks for pointing this out

https://magicui.design/r/index.json