mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-18 13:01:51 +03:00
21 lines
390 B
Go
21 lines
390 B
Go
|
//go:build next
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"embed"
|
||
|
|
||
|
"github.com/AdguardTeam/AdGuardHome/internal/next/cmd"
|
||
|
)
|
||
|
|
||
|
// 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.
|
||
|
|
||
|
//go:embed build
|
||
|
var frontend embed.FS
|
||
|
|
||
|
func main() {
|
||
|
cmd.Main(frontend)
|
||
|
}
|