We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7cfdd commit 4e56ab2Copy full SHA for 4e56ab2
app/anime/page.tsx
@@ -88,13 +88,9 @@ export default function AnimatorPage() {
88
89
// Load URDF
90
const manager = new THREE.LoadingManager();
91
- // Use setURLModifier to prepend basePath to all asset URLs
92
manager.setURLModifier((url) => {
93
const basePath = getBasePath();
94
- if (url.startsWith("/")) {
95
- return basePath + url;
96
- }
97
- return basePath + "/" + url;
+ return basePath + url;
98
});
99
const loader = new URDFLoader(manager);
100
loader.load(
0 commit comments