Skip to content

Commit a3608fc

Browse files
committed
update path
Signed-off-by: Falah Naufal Zaki <falahnzk.dev@gmail.com>
1 parent 41a2ba1 commit a3608fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/anime/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const getBasePath = () => {
1717
return process.env.NEXT_PUBLIC_BASE_PATH || "";
1818
};
1919

20-
const URDF_PATH = `${getBasePath()}/altair.urdf`;
20+
const URDF_PATH = `${getBasePath()}/altair_dashboard/altair.urdf`;
2121
const RAD_TO_DEG = 180 / Math.PI;
2222
const DEG_TO_RAD = Math.PI / 180;
2323

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ const nextConfig: NextConfig = {
1616
images: {
1717
unoptimized: true, // Disable default image optimization
1818
},
19-
// assetPrefix: isProd ? '/altair_dashboard' : '',
20-
// basePath: isProd ? '/altair_dashboard' : '',
19+
assetPrefix: isProd ? '/altair_dashboard' : '',
20+
basePath: isProd ? '/altair_dashboard' : '',
2121
output: "export",
2222
};
2323

0 commit comments

Comments
 (0)