diff --git a/packages/gpt-runner-core/client/index.html b/packages/gpt-runner-core/client/index.html
index e909d11..3534796 100644
--- a/packages/gpt-runner-core/client/index.html
+++ b/packages/gpt-runner-core/client/index.html
@@ -4,8 +4,6 @@
-
GPT Runner
diff --git a/packages/gpt-runner-core/client/src/pages/chat/index.tsx b/packages/gpt-runner-core/client/src/pages/chat/index.tsx
new file mode 100644
index 0000000..faedcec
--- /dev/null
+++ b/packages/gpt-runner-core/client/src/pages/chat/index.tsx
@@ -0,0 +1,9 @@
+import type { FC } from 'react'
+
+const Chat: FC = () => {
+ return <>chat>
+}
+
+Chat.displayName = 'Chat'
+
+export default Chat
diff --git a/packages/gpt-runner-core/client/src/router.tsx b/packages/gpt-runner-core/client/src/router.tsx
index b0e755f..0f658c9 100644
--- a/packages/gpt-runner-core/client/src/router.tsx
+++ b/packages/gpt-runner-core/client/src/router.tsx
@@ -5,6 +5,7 @@ import { VSCodeProgressRing } from '@vscode/webview-ui-toolkit/react'
import Home from './pages/home/index'
import Error404 from './pages/error/404'
import { useLoading } from './hooks/use-loading.hook'
+import Chat from './pages/chat'
export const AppRouter: FC = () => {
const { loading } = useLoading()
@@ -16,10 +17,7 @@ export const AppRouter: FC = () => {
} />
-
- {/* Using path="*"" means "match anything", so this route
- acts like a catch-all for URLs that we don't have explicit
- routes for. */}
+ } />
} />
diff --git a/packages/gpt-runner-core/client/vite.config.ts b/packages/gpt-runner-core/client/vite.config.ts
index e46ef34..20ee245 100644
--- a/packages/gpt-runner-core/client/vite.config.ts
+++ b/packages/gpt-runner-core/client/vite.config.ts
@@ -7,7 +7,12 @@ const resolvePath = (...paths: string[]) => path.resolve(__dirname, ...paths)
// https://vitejs.dev/config/
export default defineConfig({
root: resolvePath('./'),
+ publicDir: resolvePath('./public'),
plugins: [
React(),
],
+ server: {
+ port: 3006,
+ host: true,
+ },
})