Skip to content

Commit 6bb1008

Browse files
committed
fix(setup): update vite config
1 parent 4aa4a85 commit 6bb1008

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ COPY . /code/
3535
FROM builder AS web-app-serve-build
3636

3737
ENV APP_TITLE=TC-Unified-Notes
38-
ENV APP_UNIFIED_API_ENDPOINT=http://192.168.88.52:8020/
38+
ENV APP_UNIFIED_API_ENDPOINT=https://notes-api.local.togglecorp.com/
3939

4040

4141
RUN WEB_APP_SERVE_ENABLED=true pnpm build

vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ export default defineConfig(({ mode }) => {
3131
reactSwc(),
3232
tsconfigPaths(),
3333
webfontDownload(),
34-
validateEnv({
35-
configFile: 'env.ts',
36-
}),
34+
validateEnv(),
3735
isProd ? compression() : undefined,
3836
],
3937
css: {

0 commit comments

Comments
 (0)