1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-03 03:17:57 +00:00
Use getPath more often
This commit is contained in:
Ozzie Isaacs
2025-08-09 11:20:44 +02:00
parent 4fe28028ea
commit 91e36b2c7e
3 changed files with 556 additions and 132 deletions

View File

@@ -103,7 +103,7 @@ $(function() {
method:"post",
contentType: "application/json; charset=utf-8",
dataType: "json",
url: window.location.pathname + "/../ajax/mergebooks",
url: getPath() + "/ajax/mergebooks",
data: JSON.stringify({"Merge_books":selections}),
success: function success() {
$("#books-table").bootstrapTable("refresh");
@@ -122,7 +122,7 @@ $(function() {
method:"post",
contentType: "application/json; charset=utf-8",
dataType: "json",
url: window.location.pathname + "/../ajax/simulatemerge",
url: getPath() + "/ajax/simulatemerge",
data: JSON.stringify({"Merge_books":selections}),
success: function success(booTitles) {
$('#merge_from').empty();
@@ -140,7 +140,7 @@ $(function() {
method:"post",
contentType: "application/json; charset=utf-8",
dataType: "json",
url: window.location.pathname + "/../ajax/xchange",
url: getPath() + "/ajax/xchange",
data: JSON.stringify({"xchange":selections}),
success: function success() {
$("#books-table").bootstrapTable("refresh");

View File

@@ -48,11 +48,11 @@ dependencies = [
"urllib3>=1.22,<3.0",
"Flask-Limiter>=2.3.0,<3.13.0",
"regex>=2022.3.2,<2025.3.20",
"bleach>=6.0.0,<6.2.0",
"bleach>=6.0.0,<6.3.0",
"python-magic>=0.4.27,<0.5.0",
"python-magic-bin>=0.4.0,<0.5.0;sys_platform=='win32'",
"flask-httpAuth>=4.4.0,<5.0.0",
"cryptography>=43.0.4,<45.0.0",
"cryptography>=39.0.0,<45.0.0",
]
dynamic = ["version"]

File diff suppressed because it is too large Load Diff