File tree Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Expand file tree Collapse file tree 4 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dev = [
2323 "ty>=0.0.1a16",
2424 "pytest>=8.4.1",
2525 "hatch>=1.14.1",
26- "llamactl>=0.3.0a6 "
26+ "llamactl>=0.3.0a9 "
2727]
2828
2929[build-system]
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dev = [
2323 " ty>=0.0.1a16" ,
2424 " pytest>=8.4.1" ,
2525 " hatch>=1.14.1" ,
26- " llamactl>=0.3.0a6 "
26+ " llamactl>=0.3.0a9 "
2727]
2828
2929[build-system ]
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default defineConfig(({}) => {
77 const deploymentId = process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
88 const basePath = process . env . LLAMA_DEPLOY_DEPLOYMENT_BASE_PATH ;
99 const projectId = process . env . LLAMA_DEPLOY_PROJECT_ID ;
10-
10+ const port = process . env . PORT ? Number ( process . env . PORT ) : 3000 ;
1111 return {
1212 plugins : [ react ( ) ] ,
1313 resolve : {
@@ -16,11 +16,8 @@ export default defineConfig(({}) => {
1616 } ,
1717 } ,
1818 server : {
19- port : 3000 ,
19+ port : port ,
2020 host : true ,
21- hmr : {
22- port : 3000 ,
23- } ,
2421 } ,
2522 build : {
2623 outDir : "dist" ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export default defineConfig(({}) => {
77 const deploymentId = process . env . LLAMA_DEPLOY_DEPLOYMENT_URL_ID ;
88 const basePath = process . env . LLAMA_DEPLOY_DEPLOYMENT_BASE_PATH ;
99 const projectId = process . env . LLAMA_DEPLOY_PROJECT_ID ;
10-
10+ const port = process . env . PORT ? Number ( process . env . PORT ) : 3000 ;
1111 return {
1212 plugins : [ react ( ) ] ,
1313 resolve : {
@@ -16,11 +16,8 @@ export default defineConfig(({}) => {
1616 } ,
1717 } ,
1818 server : {
19- port : 3000 ,
19+ port : port ,
2020 host : true ,
21- hmr : {
22- port : 3000 ,
23- } ,
2421 } ,
2522 build : {
2623 outDir : "dist" ,
You can’t perform that action at this time.
0 commit comments