diff --git a/netlify/functions/getLastFmSongs.ts b/netlify/functions/getLastFmSongs.ts index 9d8d219..093985f 100755 --- a/netlify/functions/getLastFmSongs.ts +++ b/netlify/functions/getLastFmSongs.ts @@ -22,7 +22,7 @@ const handler: Handler = async () => { ] // Origin for CORS - const origin = process.env.NODE_ENV === 'production' ? 'https://toshiki.dev' : 'http://localhost:*' + const origin = process.env.NODE_ENV === 'production' ? 'https://toshiki.dev' : 'http://localhost:3000' // Map track function const mapTrack = (track: any): any => {