Rename routes to gallery

Move methods to api.py
Remove old db manager as its unused
Remove old db tables as theres a new schema file
Rename onlylegsSass to sassy, unused for now
Update example.env to reflect new layout
This commit is contained in:
Michał Gdula 2023-01-10 14:40:43 +00:00
parent a499e6c840
commit e395139656
13 changed files with 146 additions and 326 deletions

View file

@ -78,7 +78,7 @@
// Upload the information
$.ajax({
url: '/upload/form',
url: '/upload',
type: 'post',
data: formData,
contentType: false,
@ -89,7 +89,7 @@
});
// Empty values
$("#image").val("");
$("#file").val("");
$("#alt").val("");
$("#description").val("");
$("#tags").val("");