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 4ddef35 commit d13224fCopy full SHA for d13224f
1 file changed
src/app/utils/index.ts
@@ -28,8 +28,8 @@ export const formatDuration = (seconds: number): string => {
28
return `${hours}h ${minutes}m`;
29
};
30
31
-// Utility function to handle asset paths for GitHub Pages
+// Utility function to handle asset paths
32
export const getAssetPath = (path: string): string => {
33
- const basePath = process.env.NODE_ENV === 'production' ? '/dataplug-web' : '';
34
- return `${basePath}${path}`;
+ // No base path needed since we're hosting at root domain
+ return path;
35
0 commit comments