fix csv import endpoint and cert flags
This commit is contained in:
@@ -168,11 +168,11 @@ func main() {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
if *https {
|
if *https {
|
||||||
if *sslCert == "" {
|
if *sslFullchain == "" {
|
||||||
logger.Error("ssl certificate", "-cert flag not given for https server")
|
logger.Error("ssl certificate", "-cert flag not given for https server")
|
||||||
log.Fatal("-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")
|
logger.Error("ssl key", "-chain flag not given for https server")
|
||||||
log.Fatal("-chain flag not given for https server")
|
log.Fatal("-chain flag not given for https server")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<q-uploader
|
<q-uploader
|
||||||
style="max-width: 300px"
|
style="max-width: 300px"
|
||||||
:url="/api/members/import/csv"
|
url="/api/members/import/csv"
|
||||||
label="Import CSV"
|
label="Import CSV"
|
||||||
multiple
|
multiple
|
||||||
:with-credentials="true"
|
:with-credentials="true"
|
||||||
@@ -128,7 +128,6 @@ import DialogFrame from 'src/vueLib/dialog/DialogFrame.vue';
|
|||||||
import { ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
import type { MetaData } from 'src/vueLib/models/metaData';
|
import type { MetaData } from 'src/vueLib/models/metaData';
|
||||||
import { useNotify } from 'src/vueLib/general/useNotify';
|
import { useNotify } from 'src/vueLib/general/useNotify';
|
||||||
import { portApp } from 'src/boot/axios';
|
|
||||||
|
|
||||||
const dialogHeight = ref(300);
|
const dialogHeight = ref(300);
|
||||||
const dialogWidth = ref(500);
|
const dialogWidth = ref(500);
|
||||||
|
|||||||
Reference in New Issue
Block a user