Security fixes, documentation updates, and cleanup #1

Merged
GivFNZ merged 4 commits from aidan/my-website:main into main 2025-03-27 23:01:56 +00:00
2 changed files with 17 additions and 1 deletions
Showing only changes of commit cdcb765785 - Show all commits

View File

@ -31,6 +31,22 @@ Any contribution is welcome. If you want to test the website in your own machine
The development server will be available at http://localhost:5173.
### Environment Variables
**The LastFM feature is disabled, and this environment variable is not required yet.**
To run the project, you need to set up the following environment variables:
| Variable | Description |
|-----------------------------|--------------------------|
| `VITE_LASTFM_API_KEY` | Your [Last.fm API Key]() |
Create a `.env` file in the root of the project and add the required variables like so:
```env
VITE_LASTFM_API_KEY=your-lastfm-api-key-here
```
## Special Thanks
- [Aidan](https://github.com/ihatenodejs)

View File

@ -1,6 +1,6 @@
import { api } from "../lib/axios";
const api_key = import.meta.env.VITE_LASTFM_API_KEY
const api_key = null;
export interface getRecentTracksResponse {
recenttracks: {