minor bug fixes.

This commit is contained in:
Joshua Ashton
2025-02-01 22:32:35 -07:00
parent eab066346e
commit 0b9bd47609
4 changed files with 2 additions and 5 deletions
Executable
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -17,7 +17,7 @@ func generateRandomString(length int) string {
}
func main() {
err := godotenv.Load("../.env")
err := godotenv.Load("../music/.env")
if err != nil {
log.Fatalf("Error loading .env file: %s", err)
}
@@ -38,5 +38,5 @@ func main() {
http.Redirect(w, r, redirectURL, http.StatusFound)
})
http.ListenAndServe(":8080", nil)
http.ListenAndServe(":9753", nil)
}
-2
View File
@@ -7,9 +7,7 @@ $html = '';
$client_id = $_ENV['SPOTIFY_CLIENT_ID'];
$client_secret = $_ENV['SPOTIFY_CLIENT_SECRET'];
// $auth_code = $_ENV['SPOTIFY_AUTH_CODE'];
$auth_code = $_GET['code'];
// $auth_state = $_GET['state'];
$client_credentials = get_client_credentials($client_id, $client_secret);
-1
View File
@@ -1,7 +1,6 @@
<?php
session_start();
include ('login.php');
exec('php explore.php &');
?>
<!DOCTYPE html>
<html lang="en">