diff --git a/src/pages/options/index.html b/src/pages/options/index.html index 2e290500..b4b032c8 100644 --- a/src/pages/options/index.html +++ b/src/pages/options/index.html @@ -4,7 +4,7 @@ - UTRP Options + Popup diff --git a/src/views/components/PopupMain.tsx b/src/views/components/PopupMain.tsx index d6b2d88b..f22b2082 100644 --- a/src/views/components/PopupMain.tsx +++ b/src/views/components/PopupMain.tsx @@ -58,7 +58,7 @@ export default function PopupMain(): JSX.Element { )); const handleOpenOptions = async () => { - const url = chrome.runtime.getURL('/options.html'); + const url = chrome.runtime.getURL('/src/pages/options/index.html'); await openTabFromContentScript(url); }; diff --git a/vite.config.ts b/vite.config.ts index c5b1e402..3a66b938 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -155,10 +155,6 @@ export default defineConfig({ target: 'http://localhost:5173', rewrite: path => path.replace('calendar', 'src/pages/calendar/index'), }, - '/options.html': { - target: 'http://localhost:5173', - rewrite: path => path.replace('options', 'src/pages/options/index'), - }, }, }, build: { @@ -166,7 +162,6 @@ export default defineConfig({ input: { debug: 'src/pages/debug/index.html', calendar: 'src/pages/calendar/index.html', - options: 'src/pages/options/index.html', }, // output: { // entryFileNames: `[name].js`, // otherwise it will add the hash