Compare commits

...

2 Commits

Author SHA1 Message Date
Daniel Luiz Alves
da64d65401 feat: enable reverse proxy support and add pnpm.lock for custom builds in apps/web (#13) 2025-04-04 23:40:35 -03:00
Daniel Luiz Alves
7b2f15dcd5 refactor: remove lock files from .gitignore and update vite config
Remove unnecessary lock files from .gitignore to streamline version control. Update Vite configuration to allow all hosts in both development and preview modes for better accessibility
2025-04-04 23:37:08 -03:00
3 changed files with 9170 additions and 9 deletions

6
apps/web/.gitignore vendored
View File

@@ -22,9 +22,3 @@ dist-ssr
*.njsproj
*.sln
*.sw?
pnpm-lock.yaml
yarn.lock
package-lock.json
bun.lockb

9166
apps/web/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -2,15 +2,16 @@ import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsconfigPaths()],
server: {
host: "0.0.0.0", // Importante para aceitar conexões externas
host: "0.0.0.0",
port: 5173,
allowedHosts: true
},
preview: {
host: "0.0.0.0", // Para modo de produção
host: "0.0.0.0",
port: 4173,
allowedHosts: true
},
});