We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ca399b commit a73a618Copy full SHA for a73a618
client/src/pages/Home.tsx
@@ -220,8 +220,7 @@ function DemosSection() {
220
</CardDescription>
221
</CardHeader>
222
<CardContent>
223
- <a href={`${window.location.origin}${appConfig.deployment.basePath}/ar-demo.html`} target="_blank" rel="noopener noreferrer">
224
- <Button className="w-full gap-2">
+ <a href={`${window.location.origin}${appConfig.deployment.basePath === '/' ? '' : appConfig.deployment.basePath}/ar-demo.html`} target="_blank" rel="noopener noreferrer"> <Button className="w-full gap-2">
225
Launch Demo
226
<ExternalLink className="w-4 h-4" />
227
</Button>
0 commit comments