@@ -36,8 +36,8 @@ discard block |
||
| 36 | 36 | // so we can't extract it from the passed in $config |
| 37 | 37 | $majorVersion = '4'; |
| 38 | 38 | // Dev server container name & port are based on the major version of this plugin |
| 39 | - $devPort = 3000 + (int)$majorVersion; |
|
| 40 | - $versionName = 'v' . $majorVersion; |
|
| 39 | + $devPort = 3000 + (int) $majorVersion; |
|
| 40 | + $versionName = 'v'.$majorVersion; |
|
| 41 | 41 | return [ |
| 42 | 42 | 'components' => [ |
| 43 | 43 | 'transcode' => Transcode::class, |
@@ -46,8 +46,8 @@ discard block |
||
| 46 | 46 | 'class' => VitePluginService::class, |
| 47 | 47 | 'assetClass' => TranscoderAsset::class, |
| 48 | 48 | 'useDevServer' => true, |
| 49 | - 'devServerInternal' => 'http://craft-transcoder-' . $versionName . '-buildchain-dev:' . $devPort, |
|
| 50 | - 'devServerPublic' => 'http://localhost:' . $devPort, |
|
| 49 | + 'devServerInternal' => 'http://craft-transcoder-'.$versionName.'-buildchain-dev:'.$devPort, |
|
| 50 | + 'devServerPublic' => 'http://localhost:'.$devPort, |
|
| 51 | 51 | 'errorEntry' => 'src/js/app.ts', |
| 52 | 52 | 'checkDevServer' => true, |
| 53 | 53 | ], |