Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mineev committed Jun 22, 2022
1 parent 2df69f1 commit 0451676
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,23 @@ To make API available you need to specify `API_CORS_HOST` after you deployed the
When something is playing

```ts
type Track = {
type Response =
/** When a track is playing */
{
progress: number | null;
duration: number;
track: string;
artist: string;
isPlaying: boolean;
coverUrl: string;
url: string;
};
```

When nothing is playing
}

```ts
type Empty = {};
/** When nothing is playing */
| {
isPlaying: false;
}
```

### Development

- Copy `.env.example` to `.env` and add values to env variables
Expand Down

1 comment on commit 0451676

@vercel
Copy link

@vercel vercel bot commented on 0451676 Jun 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

spotify-badge – ./

spotify-badge-akellbl4.vercel.app
spotify-badge.vercel.app
spotify-badge-git-main-akellbl4.vercel.app

Please sign in to comment.