Compare commits

..

No commits in common. "c08573b4b3c8e47247bf61071bd503240f02d52e" and "f057ed63743b23337e69e9ddaa9a4b8ec3cdc3f0" have entirely different histories.

3 changed files with 1 additions and 3 deletions

View File

@ -2,5 +2,4 @@ client_id=
client_secret=
n8n_webhook_add_tracks=
n8n_webhook_create_playlist=
hostname=
environment=production

View File

@ -25,7 +25,6 @@ docker run -d \
-e n8n_webhook_create_playlist=N8N_WEBHOOK_URL \
-e n8n_webhook_add_tracks=N8N_WEBHOOK_URL \
-e environment=production \
-e hostname=https://example.com
gitea.louisgallet.fr/lgallet/makethisplaylist:latest
```

View File

@ -44,7 +44,7 @@ def create_playlist():
cursor.execute("INSERT INTO rooms (roomid, spotify_id, playlist_name, spotify_URL) VALUES (?, ?, ?, ?)",
(roomid, playlistID, playlistName, spotifyURL))
database.commit()
qrcode = generateQRCode(os.getenv("hostname") + "/search/" + str(roomid))
qrcode = generateQRCode("http://localhost:3000/search/" + str(roomid))
return render_template("create.html", response="Playlist created successfully",
comment="Enjoy the night \U0001f57a (and share this QRCode with your friends)",
image=qrcode, type="success", roomid=roomid)