fix some endpoints
This commit is contained in:
parent
7aee99ac42
commit
6f1b94c040
10 changed files with 47 additions and 41 deletions
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
{{.Vue.RenderTags}}
|
||||
</head>
|
||||
<body>
|
||||
<body class="bg-background-200 dark:bg-background-900 text-textLight dark:text-textDark">
|
||||
<div id="app"></div>
|
||||
|
||||
<script type="text/json" id="accountData">{{.AccountData}}</script>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue