mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
Merge pull request #88 from JohnWong/main
fix: include access token in auto-opened dashboard URL
This commit is contained in:
@@ -16,6 +16,7 @@ export default defineConfig({
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: 5173,
|
||||
open: `/?token=${ACCESS_TOKEN}`,
|
||||
},
|
||||
|
||||
resolve: {
|
||||
|
||||
@@ -56,7 +56,7 @@ Start the Understand Anything dashboard to visualize the knowledge graph for the
|
||||
|
||||
5. Start the Vite dev server pointing at the project's knowledge graph:
|
||||
```bash
|
||||
cd <dashboard-dir> && GRAPH_DIR=<project-dir> npx vite --host 127.0.0.1 --open
|
||||
cd <dashboard-dir> && GRAPH_DIR=<project-dir> npx vite --host 127.0.0.1
|
||||
```
|
||||
Run this in the background so the user can continue working.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user