add: allow direct "atto://" links to work for script tags
This commit is contained in:
parent
78c9b3349d
commit
e7febc7c7e
5 changed files with 8 additions and 5 deletions
|
@ -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"))
|
||||
|
|
|
@ -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"))
|
||||
|
|
|
@ -154,7 +154,8 @@ pub async fn get_file_request(
|
|||
)
|
||||
} else {
|
||||
f.content
|
||||
},
|
||||
}
|
||||
.replace("atto://", "/api/v1/net/atto://"),
|
||||
)),
|
||||
None => {
|
||||
return Err((
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue