mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
dedup & fix
This commit is contained in:
parent
3c0ee7e8a3
commit
a656335a22
7 changed files with 189 additions and 213 deletions
|
@ -44,7 +44,7 @@ func startServer(ctx context.Context) error {
|
|||
app := cli.NewApp()
|
||||
app.Name = "pages-server"
|
||||
app.Action = cmd.Serve
|
||||
app.Flags = cmd.ServeFlags
|
||||
app.Flags = cmd.ServerFlags
|
||||
|
||||
go func() {
|
||||
if err := app.RunContext(ctx, args); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue