it just works

This commit is contained in:
2023-01-12 12:05:53 +01:00
parent 4c7faa1b46
commit 733e2ab006
54 changed files with 336 additions and 3608 deletions

View File

@@ -23,7 +23,7 @@ func init() {
func RunBlocking(ctx context.Context) {
fe := ctx.Value("frontend").(fs.SubFS)
port := ctx.Value("port")
port := ctx.Value("port").(int)
service := new(Service)
rpc.Register(service)
@@ -62,5 +62,5 @@ func RunBlocking(ctx context.Context) {
app.Server().StreamRequestBody = true
log.Fatal(app.Listen(fmt.Sprintf(":%s", port)))
log.Fatal(app.Listen(fmt.Sprintf(":%d", port)))
}