2022-10-04 16:02:55 +03:00
|
|
|
//go:build next
|
2022-04-26 20:50:09 +03:00
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"embed"
|
|
|
|
|
2022-10-04 16:02:55 +03:00
|
|
|
"github.com/AdguardTeam/AdGuardHome/internal/next/cmd"
|
2022-04-26 20:50:09 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
// Embed the prebuilt client here since we strive to keep .go files inside the
|
|
|
|
// internal directory and the embed package is unable to embed files located
|
|
|
|
// outside of the same or underlying directory.
|
|
|
|
|
2023-01-23 12:47:59 +03:00
|
|
|
//go:embed build
|
2023-06-13 13:41:13 +03:00
|
|
|
var frontend embed.FS
|
2022-04-26 20:50:09 +03:00
|
|
|
|
|
|
|
func main() {
|
2023-06-13 13:41:13 +03:00
|
|
|
cmd.Main(frontend)
|
2022-04-26 20:50:09 +03:00
|
|
|
}
|