add: allow direct "atto://" links to work for script tags

This commit is contained in:
trisua 2025-07-08 15:33:51 -04:00
parent 78c9b3349d
commit e7febc7c7e
5 changed files with 8 additions and 5 deletions

View file

@ -121,8 +121,9 @@
; data
(div
("class" "w-full")
("style" "max-width: 100%; overflow: auto")
("style" "max-width: 100%; overflow: auto; min-height: 512px")
(table
("class" "w-full")
(thead
(tr
(th (text "Name"))

View file

@ -89,8 +89,9 @@
; directory browser
(div
("class" "w-full")
("style" "max-width: 100%; overflow: auto")
("style" "max-width: 100%; overflow: auto; min-height: 512px")
(table
("class" "w-full")
(thead
(tr
(th (text "Name"))

View file

@ -154,7 +154,8 @@ pub async fn get_file_request(
)
} else {
f.content
},
}
.replace("atto://", "/api/v1/net/atto://"),
)),
None => {
return Err((