Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hi02102002 committed May 18, 2024
1 parent daa358f commit 114ba33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dialogue-chatbox",
"private": false,
"version": "1.0.33",
"version": "1.0.34",
"type": "module",
"main": "./dist-components/index.umd.js",
"module": "./dist-components/index.es.js",
Expand All @@ -21,7 +21,7 @@
"dev": "vite",
"build-web": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-dsisable-directives --max-warnings 0",
"preview": "vite preview",
"start": "vite preview",
"build-components": "tsc && vite build --config vite-components.config.ts",
"build": "concurrently \"npm run build-components\" \"npm run build-web\""
},
Expand Down
2 changes: 1 addition & 1 deletion src/context/socket.ctx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const SocketCtx = createContext<TSocketCtx>({} as TSocketCtx)

const URL = import.meta.env.DEV
? import.meta.env.VITE_DEV_API_URL
: import.meta.env.VITE_DEV_API_URL
: import.meta.env.VITE_PROD_API_URL

export type Props = {
children: React.ReactNode
Expand Down

0 comments on commit 114ba33

Please sign in to comment.