Adding comments; Fixed #185
This commit is contained in:
@ -1,10 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Spotify Authentication proxy
|
||||
*
|
||||
* To use:
|
||||
* 1. Create a Spotify App (https://developer.spotify.com/my-applications), and paste in your credentials below
|
||||
* 2. Save this script to a publicly-accessible server
|
||||
* 3. Set config in mopidy.conf to point to this script
|
||||
**/
|
||||
|
||||
// Spotify app credentials
|
||||
// Create your application here: https://developer.spotify.com/my-applications
|
||||
define('CLIENT_ID','YOUR_ID_HERE');
|
||||
define('CLIENT_SECRET','YOUR_SECRET_HERE');
|
||||
define('REDIRECT_URI','YOUR_REDIRECT_URI_HERE (to this file)');
|
||||
define('REDIRECT_URI','YOUR_REDIRECT_URI_HERE');
|
||||
|
||||
// Allow cross-domain requests
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
|
||||
Reference in New Issue
Block a user