mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Handles updated flyctl launch
toml file (#1211)
This commit is contained in:
parent
7fbbcfa81d
commit
cb26d71947
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## v0.10.6
|
||||
|
||||
### Bug fixes
|
||||
- `wasp deploy fly launch` now supports the latest `flyctl launch` toml file for the web client (which changed their default structure and port).
|
||||
|
||||
## v0.10.5
|
||||
|
||||
### Bug fixes
|
||||
|
@ -70,8 +70,9 @@ async function setupClient(deploymentInfo: DeploymentInfo) {
|
||||
// This creates the fly.toml file, but does not attempt to deploy.
|
||||
await $`flyctl launch --no-deploy --name ${deploymentInfo.clientName} --region ${deploymentInfo.region}`;
|
||||
|
||||
// goStatic listens on port 8043 by default, but the default fly.toml assumes port 8080.
|
||||
replaceLineInLocalToml(/internal_port = 8080/g, 'internal_port = 8043');
|
||||
// goStatic listens on port 8043 by default, but the default fly.toml
|
||||
// assumes port 8080 (or 3000, depending on flyctl version).
|
||||
replaceLineInLocalToml(/internal_port = \d+/g, 'internal_port = 8043');
|
||||
|
||||
copyLocalClientTomlToProject(deploymentInfo.tomlFilePaths);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user