Skip to content

Commit eefa22b

Browse files
committed
Change default server port to 8080
1 parent 016d9d7 commit eefa22b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
package {{.PackageName}}
22

3+
type GameConfig struct {
4+
}

templates/new/server/main.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func main() {
2424
}
2525

2626
if port == 0 {
27-
port = 80
27+
port = 8080
2828
}
2929

3030
server := cg.NewServer("{{.Name}}", cg.ServerConfig{

0 commit comments

Comments
 (0)