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 cedf02d commit 4fdbceeCopy full SHA for 4fdbcee
client/src/App.tsx
@@ -47,7 +47,7 @@ import ToolsTab from "./components/ToolsTab";
47
48
const params = new URLSearchParams(window.location.search);
49
const PROXY_PORT = params.get("proxyPort") ?? "3000";
50
-const PROXY_SERVER_URL = `http://localhost:${PROXY_PORT}`;
+const PROXY_SERVER_URL = `http://${window.location.hostname}:${PROXY_PORT}`;
51
52
const App = () => {
53
// Handle OAuth callback route
client/vite.config.ts
@@ -5,7 +5,9 @@ import { defineConfig } from "vite";
5
// https://vitejs.dev/config/
6
export default defineConfig({
7
plugins: [react()],
8
- server: {},
+ server: {
9
+ host: true,
10
+ },
11
resolve: {
12
alias: {
13
"@": path.resolve(__dirname, "./src"),
0 commit comments