Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
fdc8525abe | |||
8075d1fe1f | |||
8709989fbe | |||
![]() |
b0d6bb5512 |
@@ -117,4 +117,4 @@ jobs:
|
|||||||
name: memberApp-${{ matrix.goos }}-${{ matrix.arch }}
|
name: memberApp-${{ matrix.goos }}-${{ matrix.arch }}
|
||||||
path: |
|
path: |
|
||||||
./dist/spa
|
./dist/spa
|
||||||
server-${{ matrix.goos }}-${{ matrix.arch }}${{ matrix.ext }}
|
memberApp-${{ matrix.goos }}-${{ matrix.arch }}${{ matrix.ext }}
|
||||||
|
@@ -33,8 +33,8 @@ func main() {
|
|||||||
organization := flag.String("organization", "", "self signed ciertificate organization")
|
organization := flag.String("organization", "", "self signed ciertificate organization")
|
||||||
port := flag.Uint("port", 9500, "server listening port")
|
port := flag.Uint("port", 9500, "server listening port")
|
||||||
https := flag.Bool("https", false, "serves as https needs flag -cert and -chain")
|
https := flag.Bool("https", false, "serves as https needs flag -cert and -chain")
|
||||||
sslCert := flag.String("cert", "", "ssl certificate path")
|
sslKey := flag.String("privkey", "", "ssl private key path")
|
||||||
sslChain := flag.String("chain", "", "ssl chain path")
|
sslFullchain := flag.String("fullchain", "", "ssl fullchain path")
|
||||||
debug := flag.Bool("debug", false, "log debug")
|
debug := flag.Bool("debug", false, "log debug")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ func main() {
|
|||||||
|
|
||||||
// start https server
|
// start https server
|
||||||
logger.Info("main", fmt.Sprintf("https listen on ip: %s port: %d", *ip, *port))
|
logger.Info("main", fmt.Sprintf("https listen on ip: %s port: %d", *ip, *port))
|
||||||
if err := s.ServeHttps(*ip, *port, cert.Cert{Organization: *organization, CertFile: *sslCert, KeyFile: *sslChain}); err != nil {
|
if err := s.ServeHttps(*ip, *port, cert.Cert{Organization: *organization, CertFile: *sslFullchain, KeyFile: *sslKey}); err != nil {
|
||||||
logger.Error("main", "error https server "+err.Error())
|
logger.Error("main", "error https server "+err.Error())
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<q-uploader
|
<q-uploader
|
||||||
style="max-width: 300px"
|
style="max-width: 300px"
|
||||||
:url="`https://0.0.0.0:` + portApp + `/api/members/import/csv`"
|
:url="/api/members/import/csv"
|
||||||
label="Import CSV"
|
label="Import CSV"
|
||||||
multiple
|
multiple
|
||||||
accept=".csv"
|
accept=".csv"
|
||||||
|
Reference in New Issue
Block a user