Make bright the default for xkcds
This commit is contained in:
parent
c4c6887603
commit
711fed91c9
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const form = useTemplateRef<HTMLFormElement>("form");
|
||||||
|
|
||||||
const number = ref<number>();
|
const number = ref<number>();
|
||||||
const dither = ref(true);
|
const dither = ref(true);
|
||||||
const bright = ref(false);
|
const bright = ref(true);
|
||||||
const feed = ref(true);
|
const feed = ref(true);
|
||||||
|
|
||||||
function submit() {
|
function submit() {
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ pub async fn post(server: State<Server>, Form(form): Form<FormData>) -> somehow:
|
||||||
image,
|
image,
|
||||||
max_width,
|
max_width,
|
||||||
max_height,
|
max_height,
|
||||||
form.bright.unwrap_or(false),
|
form.bright.unwrap_or(true),
|
||||||
"stucki",
|
"stucki",
|
||||||
)
|
)
|
||||||
.map_err(somehow::Error)?;
|
.map_err(somehow::Error)?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue