diff --git a/.env b/.env index 28048fa4a..0e786c893 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ -VITE_BASE_PATH="/gpt-vis/" +VITE_BASE_PATH="/amazing-vis-test/" VITE_FIREBASE_CONFIG=' { apiKey: "AIzaSyAokhc9QSxDNJykUhFnMZHprAcG6lfvc6Y", diff --git a/src/public/gpt-vis/VisComponent.tsx b/src/public/gpt-vis/VisComponent.tsx index 17e61fec0..1df341ffb 100644 --- a/src/public/gpt-vis/VisComponent.tsx +++ b/src/public/gpt-vis/VisComponent.tsx @@ -7,7 +7,7 @@ function VisCompnent({ parameters }: { parameters: any }) { const { imgName, options, correctIndex, question, } = parameters; - const imgPathPrefix = import.meta.env.DEV ? '' : 'https://wpivis.github.io/gpt-vis'; + const imgPathPrefix = import.meta.env.DEV ? '' : 'https://wpivis.github.io/amazing-vis-test'; return (