Merge upstream start-sdk 3.0.3 and the corrected logging docs
This commit is contained in:
commit
9a4ab4af96
22 files changed
+1207
-973
No files matched your search
+16
-19
@@ -32,24 +32,21 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
||||
// dials). Resolved reactively so an address added later is picked up on the
|
||||
// next restart.
|
||||
const servedHosts = await sdk.host
|
||||
.getOwn(
|
||||
effects,
|
||||
apiHostId,
|
||||
(host) =>
|
||||
host
|
||||
? utils
|
||||
.filledAddress(host, {
|
||||
hostId: apiHostId,
|
||||
internalPort: apiPort,
|
||||
username: null,
|
||||
scheme: null,
|
||||
sslScheme: null,
|
||||
suffix: '',
|
||||
})
|
||||
.matchesAny([{ visibility: 'private' }, { visibility: 'public' }])
|
||||
.filter({ exclude: { kind: ['localhost', 'link-local'] } })
|
||||
.hostnames.map((h) => h.hostname)
|
||||
: [],
|
||||
.getOwn(effects, apiHostId, (host) =>
|
||||
host
|
||||
? utils
|
||||
.filledAddress(host, {
|
||||
hostId: apiHostId,
|
||||
internalPort: apiPort,
|
||||
username: null,
|
||||
scheme: null,
|
||||
sslScheme: null,
|
||||
suffix: '',
|
||||
})
|
||||
.matchesAny([{ visibility: 'private' }, { visibility: 'public' }])
|
||||
.filter({ exclude: { kind: ['localhost', 'link-local'] } })
|
||||
.hostnames.map((h) => h.hostname)
|
||||
: [],
|
||||
)
|
||||
.const()
|
||||
|
||||
@@ -115,4 +112,4 @@ export const main = sdk.setupMain(async ({ effects }) => {
|
||||
},
|
||||
requires: ['chown'],
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user