busybox11 / NowPlaying-for-Spotify

A Spotify Connect visualizer
https://nowplayi.ng
GNU General Public License v3.0
183 stars 23 forks source link

Use of a .env file #31

Closed busybox11 closed 2 years ago

busybox11 commented 3 years ago

Currently, the only way to store Spotify credentials for the API is by editing two files (token.php and login.php).

A better solution would be to use a .env file, which will improve usability (e.g. automatic update deployment). Also, only one file will be modified instead of two.

finnie2006 commented 2 years ago

@busybox11 https://github.com/busybox11/NowPlaying-for-Spotify/pull/67

VoXaN24 commented 2 years ago

It's resolved so