Skip to content

Commit

Permalink
chore(vite): update server URL
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Dec 30, 2024
1 parent c094362 commit c68cd50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";

const SERVER_URL = "http://localhost:8080";
//! Keep '0.0.0.0', because 'localhost' may not working on Mac
const SERVER_URL = "http://0.0.0.0:8080";

Check failure on line 20 in webapp/vite.config.ts

View workflow job for this annotation

GitHub Actions / npm-lint

Delete `·`

// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
Expand Down

0 comments on commit c68cd50

Please sign in to comment.