Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
fdc8525abe | |||
8075d1fe1f | |||
8709989fbe | |||
![]() |
b0d6bb5512 |
@@ -117,4 +117,4 @@ jobs:
|
||||
name: memberApp-${{ matrix.goos }}-${{ matrix.arch }}
|
||||
path: |
|
||||
./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")
|
||||
port := flag.Uint("port", 9500, "server listening port")
|
||||
https := flag.Bool("https", false, "serves as https needs flag -cert and -chain")
|
||||
sslCert := flag.String("cert", "", "ssl certificate path")
|
||||
sslChain := flag.String("chain", "", "ssl chain path")
|
||||
sslKey := flag.String("privkey", "", "ssl private key path")
|
||||
sslFullchain := flag.String("fullchain", "", "ssl fullchain path")
|
||||
debug := flag.Bool("debug", false, "log debug")
|
||||
flag.Parse()
|
||||
|
||||
@@ -171,7 +171,7 @@ func main() {
|
||||
|
||||
// start https server
|
||||
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())
|
||||
}
|
||||
return
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<div class="row">
|
||||
<q-uploader
|
||||
style="max-width: 300px"
|
||||
:url="`https://0.0.0.0:` + portApp + `/api/members/import/csv`"
|
||||
:url="/api/members/import/csv"
|
||||
label="Import CSV"
|
||||
multiple
|
||||
accept=".csv"
|
||||
|
Reference in New Issue
Block a user