fix some endpoints

This commit is contained in:
sam 2023-09-15 16:33:08 +02:00
parent 7aee99ac42
commit 6f1b94c040
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
10 changed files with 47 additions and 41 deletions

View file

@ -40,8 +40,8 @@ func New(app *app.App) *Frontend {
glue, err := vueglue.NewVueGlue(&vueglue.ViteConfig{
Environment: "development",
AssetsPath: "frontend",
EntryPoint: "src/main.ts",
Platform: "svelte",
EntryPoint: "src/main.tsx",
Platform: "vue",
FS: os.DirFS("frontend"),
})
if err != nil {
@ -55,8 +55,8 @@ func New(app *app.App) *Frontend {
Environment: "production",
URLPrefix: "/assets/",
AssetsPath: "dist",
EntryPoint: "src/main.ts",
Platform: "svelte",
EntryPoint: "src/main.tsx",
Platform: "vue",
FS: frontend.Embed,
})
if err != nil {