add: journal.css special note
This commit is contained in:
parent
f0d1a1e8e4
commit
dc50f3a8af
8 changed files with 125 additions and 13 deletions
|
@ -116,7 +116,7 @@ pub async fn view_request(
|
|||
}
|
||||
|
||||
// if we don't have a selected journal, we shouldn't be here probably
|
||||
if selected_journal.is_empty() {
|
||||
if selected_journal.is_empty() | (selected_note == "journal.css") {
|
||||
return Err(Html(
|
||||
render_error(Error::NotAllowed, &jar, &data, &user).await,
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue