Skip to content

Commit 2b7f1bc

Browse files
committed
Use port 3001
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent 2fcd262 commit 2b7f1bc

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

buildchain/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DOCKERRUN=docker container run \
55
--rm \
66
-t \
77
--network plugindev_default \
8-
-p 3000:3000 \
8+
-p 3001:3001 \
99
-v `pwd`/../:/app \
1010
${CONTAINER}:${TAG}
1111

buildchain/vite.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ export default ({ command }) => ({
3030
'@': path.resolve('/src/'),
3131
},
3232
},
33+
server: {
34+
port: 3001,
35+
strictPort: true,
36+
}
3337
});

src/Transcoder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ public function __construct($id, $parent = null, array $config = [])
7979
'class' => VitePluginService::class,
8080
'assetClass' => TranscoderAsset::class,
8181
'useDevServer' => true,
82-
'devServerPublic' => 'http://localhost:3000',
82+
'devServerPublic' => 'http://localhost:3001',
8383
'serverPublic' => 'http://localhost:8000',
84-
'devServerInternal' => 'http://craft-transcoder-buildchain:3000',
85-
'checkDevServer' => true,
8684
],
8785
];
8886

0 commit comments

Comments
 (0)