Skip to content

Commit d13224f

Browse files
committed
fix: Remove /dataplug-web prefix from getAssetPath function to fix logo loading
1 parent 4ddef35 commit d13224f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/utils/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const formatDuration = (seconds: number): string => {
2828
return `${hours}h ${minutes}m`;
2929
};
3030

31-
// Utility function to handle asset paths for GitHub Pages
31+
// Utility function to handle asset paths
3232
export const getAssetPath = (path: string): string => {
33-
const basePath = process.env.NODE_ENV === 'production' ? '/dataplug-web' : '';
34-
return `${basePath}${path}`;
33+
// No base path needed since we're hosting at root domain
34+
return path;
3535
};

0 commit comments

Comments
 (0)