frontend/main.go

17 lines
274 B
Go

package main
import (
"github.com/gofiber/fiber/v3"
"dc09.ru/piped/schema"
)
func main() {
app := fiber.New()
app.Get("/", func(c fiber.Ctx) error {
return c.SendString("dc09piped")
})
app.Listen("127.0.0.1:4800", fiber.ListenConfig{
EnablePrefork: true,
})
}