mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
fix: add trailing slash to BASE_URL for demo iframe path
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
const base = import.meta.env.BASE_URL; /* /Understand-Anything/ in prod */
|
||||
const demoUrl = `${base}demo/index.html`;
|
||||
const demoUrl = `${base.endsWith('/') ? base : base + '/'}demo/index.html`;
|
||||
---
|
||||
|
||||
<!-- Live Demo -->
|
||||
|
||||
Reference in New Issue
Block a user