diff --git a/src/index.jsx b/src/index.jsx
index f0cc5d5f3..df7106612 100644
--- a/src/index.jsx
+++ b/src/index.jsx
@@ -64,6 +64,11 @@ import { Preview } from '@components/preview/index'
 import MintForm from '@components/form/MintForm'
 import { ListsFeed } from '@pages/home/feeds/lists-feed'
 
+if (import.meta.env.BASE_URL !== '/') {
+  const base = document.createElement('base')
+  base.href = import.meta.env.BASE_URL
+  document.head.insertBefore(base, document.head.firstChild)
+}
 const display_routes = (
   <>
     <Route index element={<Creations />} />