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