Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/lib/run-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ async function runDev (runOptions, config, _inprocHookRunner) {

let actionUrls = {}
if (hasBackend) {
actionUrls = rtLib.utils.getActionUrls(devConfig, true /* isRemoteDev */, false /* isLocalDev */, false /* legacy */)
actionUrls = Object.entries(actionUrls).reduce((acc, [key, value]) => {
// note: 3rd arg, _isLocalDev is not used in RuntimeLib
// there is no such thing as --local anymore
const tempActionUrls = rtLib.utils.getActionUrls(devConfig, true /* isRemoteDev */, false /* isLocalDev */, false /* legacy */)
actionUrls = Object.entries(tempActionUrls).reduce((acc, [key, value]) => {
const url = new URL(value)
url.port = serverPort
url.hostname = SERVER_HOST
Expand Down