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((

View file

@ -74,7 +74,7 @@ impl DataManager {
Ok(res.unwrap())
}
const MAXIMUM_FREE_DOMAINS: usize = 5;
const MAXIMUM_FREE_DOMAINS: usize = 10;
/// Create a new domain in the database.
///

View file

@ -45,7 +45,7 @@ impl DataManager {
Ok(res.unwrap())
}
const MAXIMUM_FREE_SERVICES: usize = 5;
const MAXIMUM_FREE_SERVICES: usize = 10;
/// Create a new service in the database.
///