You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✨Eric-Guo/sponge-user_server-web-http@0babfcb is applied to the generated source code, sponge is the code generator, I want to apply those change to the template on the sponge, so I will get the same result when I generate the code in future. To make it simpler, this time, you only focus on serverType == codeNameHTTP, ie. serverNameExample_httpExample. please modify the sponge template now.
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, if enableHTTPProfile is true, it needs to set 0 or greater than 60s`
373
+
httpsPort: 8443 # https listen port when tls is enabled
374
+
timeout: 0 # request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, if enableHTTPProfile is true, it needs to set 0 or greater than 60s
Copy file name to clipboardExpand all lines: configs/serverNameExample.yml
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,19 @@ app:
22
22
# http server settings
23
23
http:
24
24
port: 8080# listen port
25
-
timeout: 0# request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, if enableHTTPProfile is true, it needs to set 0 or greater than 60s
25
+
httpsPort: 8443# https listen port when tls is enabled
26
+
timeout: 0# request timeout, unit(second), if 0 means not set, if greater than 0 means set timeout, if enableHTTPProfile is true, it needs to set 0 or greater than 60s
0 commit comments