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
|
; data
|
||||||
(div
|
(div
|
||||||
("class" "w-full")
|
("class" "w-full")
|
||||||
("style" "max-width: 100%; overflow: auto")
|
("style" "max-width: 100%; overflow: auto; min-height: 512px")
|
||||||
(table
|
(table
|
||||||
|
("class" "w-full")
|
||||||
(thead
|
(thead
|
||||||
(tr
|
(tr
|
||||||
(th (text "Name"))
|
(th (text "Name"))
|
||||||
|
|
|
@ -89,8 +89,9 @@
|
||||||
; directory browser
|
; directory browser
|
||||||
(div
|
(div
|
||||||
("class" "w-full")
|
("class" "w-full")
|
||||||
("style" "max-width: 100%; overflow: auto")
|
("style" "max-width: 100%; overflow: auto; min-height: 512px")
|
||||||
(table
|
(table
|
||||||
|
("class" "w-full")
|
||||||
(thead
|
(thead
|
||||||
(tr
|
(tr
|
||||||
(th (text "Name"))
|
(th (text "Name"))
|
||||||
|
|
|
@ -154,7 +154,8 @@ pub async fn get_file_request(
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
f.content
|
f.content
|
||||||
},
|
}
|
||||||
|
.replace("atto://", "/api/v1/net/atto://"),
|
||||||
)),
|
)),
|
||||||
None => {
|
None => {
|
||||||
return Err((
|
return Err((
|
||||||
|
|
|
@ -74,7 +74,7 @@ impl DataManager {
|
||||||
Ok(res.unwrap())
|
Ok(res.unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
const MAXIMUM_FREE_DOMAINS: usize = 5;
|
const MAXIMUM_FREE_DOMAINS: usize = 10;
|
||||||
|
|
||||||
/// Create a new domain in the database.
|
/// Create a new domain in the database.
|
||||||
///
|
///
|
||||||
|
|
|
@ -45,7 +45,7 @@ impl DataManager {
|
||||||
Ok(res.unwrap())
|
Ok(res.unwrap())
|
||||||
}
|
}
|
||||||
|
|
||||||
const MAXIMUM_FREE_SERVICES: usize = 5;
|
const MAXIMUM_FREE_SERVICES: usize = 10;
|
||||||
|
|
||||||
/// Create a new service in the database.
|
/// Create a new service in the database.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue