fix csv import endpoint and cert flags

This commit is contained in:
Adrian Zürcher
2025-10-31 15:27:05 +01:00
parent a93f063009
commit 632163d751
2 changed files with 3 additions and 4 deletions

View File

@@ -168,11 +168,11 @@ func main() {
}()
if *https {
if *sslCert == "" {
if *sslFullchain == "" {
logger.Error("ssl certificate", "-cert flag not given for https server")
log.Fatal("-cert flag not given for https server")
}
if *sslChain == "" {
if *sslKey == "" {
logger.Error("ssl key", "-chain flag not given for https server")
log.Fatal("-chain flag not given for https server")
}

View File

@@ -4,7 +4,7 @@
<div class="row">
<q-uploader
style="max-width: 300px"
:url="/api/members/import/csv"
url="/api/members/import/csv"
label="Import CSV"
multiple
:with-credentials="true"
@@ -128,7 +128,6 @@ import DialogFrame from 'src/vueLib/dialog/DialogFrame.vue';
import { ref, watch } from 'vue';
import type { MetaData } from 'src/vueLib/models/metaData';
import { useNotify } from 'src/vueLib/general/useNotify';
import { portApp } from 'src/boot/axios';
const dialogHeight = ref(300);
const dialogWidth = ref(500);