This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ type DevURL struct {
13
13
Port int `json:"port" table:"Port"`
14
14
Access string `json:"access" table:"Access"`
15
15
Name string `json:"name" table:"Name"`
16
+ Scheme string `json:"scheme" table:"-"`
16
17
}
17
18
18
19
type delDevURLRequest struct {
@@ -36,6 +37,7 @@ type CreateDevURLReq struct {
36
37
Port int `json:"port"`
37
38
Access string `json:"access"`
38
39
Name string `json:"name"`
40
+ Scheme string `json:"scheme"`
39
41
}
40
42
41
43
// CreateDevURL inserts a new devurl for the authenticated user.
Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ func createDevURLCmd() *cobra.Command {
180
180
Name : urlname ,
181
181
Access : access ,
182
182
EnvID : env .ID ,
183
+ Scheme : "http" ,
183
184
})
184
185
if err != nil {
185
186
return xerrors .Errorf ("update DevURL: %w" , err )
@@ -191,6 +192,7 @@ func createDevURLCmd() *cobra.Command {
191
192
Name : urlname ,
192
193
Access : access ,
193
194
EnvID : env .ID ,
195
+ Scheme : "http" ,
194
196
})
195
197
if err != nil {
196
198
return xerrors .Errorf ("insert DevURL: %w" , err )
You can’t perform that action at this time.
0 commit comments