Skip to content

Commit 48c89d9

Browse files
committed
fmt
1 parent 69e7440 commit 48c89d9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

pkg/cloud/websites/websites.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ func (l *LocalWebsiteService) register(website Website, port int) {
9595

9696
type staticSiteHandler struct {
9797
website *Website
98-
port int
9998
devURL string
10099
isStartCmd bool
101100
server *http.Server
@@ -227,6 +226,7 @@ func (l *LocalWebsiteService) startServer(server *http.Server, errChan chan erro
227226
// Start - Start the local website service
228227
func (l *LocalWebsiteService) Start(websites []Website) error {
229228
var errChan = make(chan error, 1)
229+
230230
var startPort = 5000
231231

232232
if l.isStartCmd {
@@ -251,7 +251,6 @@ func (l *LocalWebsiteService) Start(websites []Website) error {
251251
// Create the SPA handler for this website
252252
spa := staticSiteHandler{
253253
website: website,
254-
port: port,
255254
devURL: website.DevURL,
256255
isStartCmd: l.isStartCmd,
257256
}
@@ -291,7 +290,6 @@ func (l *LocalWebsiteService) Start(websites []Website) error {
291290
website := &websites[i]
292291
spa := staticSiteHandler{
293292
website: website,
294-
port: port,
295293
devURL: website.DevURL,
296294
isStartCmd: l.isStartCmd,
297295
}

0 commit comments

Comments
 (0)