Minor changes
This commit is contained in:
parent
7d45d9498e
commit
cda152852c
3 changed files with 3 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Work Sans','Arial',sans-serif;
|
font-family: 'Arial',sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.italic {
|
.italic {
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ def searchSongDB():
|
||||||
except sql.OperationalError as e:
|
except sql.OperationalError as e:
|
||||||
print(e)
|
print(e)
|
||||||
fileofDB.close()
|
fileofDB.close()
|
||||||
return ({"error":"Invalid search, sorry!","data":None},422)
|
return ({"error":"Database error (Try another search?)","data":None},500)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/songadd", methods=["POST"])
|
@app.route("/songadd", methods=["POST"])
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ The server side consists of 3 files:
|
||||||
sound/
|
sound/
|
||||||
databaseGenerator.py
|
databaseGenerator.py
|
||||||
webbyBits.py
|
webbyBits.py
|
||||||
|
.env
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Place mp3 files in the `sound/` folder
|
1. Place mp3 files in the `sound/` folder
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue