bug fix - redirecting to localhost instead of login.joshashton.dev
This commit is contained in:
@@ -79,7 +79,6 @@ function get_access_token($auth_code, $client_id, $client_secret)
|
||||
$data = array(
|
||||
'grant_type' => 'authorization_code',
|
||||
'code' => $auth_code,
|
||||
// 'redirect_uri' => 'http://localhost/music'
|
||||
'redirect_uri' => 'https://cs2440.joshashton.dev/music'
|
||||
);
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ session_start();
|
||||
|
||||
if (!isset($_GET['code'])) {
|
||||
header('Location: https://login.joshashton.dev/');
|
||||
// header('Location: http://localhost:9753/');
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user