Compare commits
No commits in common. "main" and "fix/QRCode-URL" have entirely different histories.
main
...
fix/QRCode
@ -25,8 +25,7 @@ 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 \
|
||||
-v "$(pwd)/database.db:/app/database.db" \
|
||||
-e hostname=https://example.com
|
||||
gitea.louisgallet.fr/lgallet/makethisplaylist:latest
|
||||
```
|
||||
|
||||
|
2
main.py
2
main.py
@ -88,7 +88,7 @@ if __name__ == '__main__':
|
||||
print("Please provide client_id, client_secret and n8n_webhook in the .env file")
|
||||
exit(1)
|
||||
app.secret_key = 'super secret key'
|
||||
if os.getenv("environment") != "production":
|
||||
if os.getenv("enviroment") != "production":
|
||||
app.run(debug=True, port="3000", host="0.0.0.0")
|
||||
else:
|
||||
app.run(debug=False, port="3000", host="0.0.0.0")
|
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Make this playlist</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
{{ bootstrap.load_css() }}
|
||||
</head>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Make this playlist</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
{{ bootstrap.load_css() }}
|
||||
</head>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Results</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ bootstrap.load_css() }}
|
||||
|
||||
</head>
|
||||
|
@ -4,7 +4,6 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>Make this playlist</title>
|
||||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ bootstrap.load_css() }}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -3,7 +3,6 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Make this playlist - Search</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ bootstrap.load_css() }}
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user