himanushi/music-client

musickit js のエラー

himanushi opened this issue · 1 comments

Access to fetch at 'https://api.music.apple.com/v1/catalog/jp/songs?ids=1536667546' from origin 'https://video-game-music.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

これは Apple Developer Program の期限が切れている可能性あり。
https://developer.apple.com/account/resources

更新したら治った