Skip to content

Commit

Permalink
build: demo base url
Browse files Browse the repository at this point in the history
  • Loading branch information
phphe committed Mar 4, 2024
1 parent c232536 commit 5ae0aa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/DemoIframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
},
computed: {
fullUrl() {
return `${import.meta.env.DEV ? 'http://localhost:3000' : ''}/he-tree-react#${this.url}?bg=${this.bg}&color=${this.color}&iframe_id=${this.iframe_id}`
return `${import.meta.env.DEV ? 'http://localhost:3000' : ''}/v1-demo-windowed#${this.url}?bg=${this.bg}&color=${this.color}&iframe_id=${this.iframe_id}`
},
},
watch: {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import path from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [UnoCSS(), react()],
base: "/he-tree-react",
base: "/v1-demo-windowed",
server: {
port: 3000,
},
Expand Down

0 comments on commit 5ae0aa4

Please sign in to comment.