Skip to content

Commit

Permalink
fix some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
amitamrutiya committed Feb 12, 2024
1 parent a392cc5 commit 23c3a17
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/core/HomePage/CodeBlocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const CodeBlocks = ({
CodeBlocks.propTypes = {
position: PropTypes.string.isRequired,
heading: PropTypes.object.isRequired,
subheading: PropTypes.object.isRequired,
subheading: PropTypes.string.isRequired,
ctabtn1: PropTypes.object.isRequired,
ctabtn2: PropTypes.object.isRequired,
codeblock: PropTypes.string.isRequired,
Expand Down
16 changes: 8 additions & 8 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ export default defineConfig({
port: 3000,
strictPort: true,
host: true,
origin: "http://0.0.0.0:3000",
origin: 'http://localhost:3000',
},
define: {
global: {},
},
optimizeDeps: {
include: ["react-dom"],
include: ['react-dom'],
},
build: {
chunkSizeWarningLimit: 1600,
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes("node_modules")) {
manualChunks (id) {
if (id.includes('node_modules')) {
return id
.toString()
.split("node_modules/")[1]
.split("/")[0]
.toString();
.split('node_modules/')[1]
.split('/')[0]
.toString()
}
},
},
},
},
});
})

0 comments on commit 23c3a17

Please sign in to comment.