@owloops/browserbird 1.1.6 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -122,8 +122,8 @@ function unknownSubcommand(subcommand, command, validCommands) {
|
|
|
122
122
|
/** @fileoverview ASCII banner displayed on daemon startup and in help text. */
|
|
123
123
|
const pkg = createRequire(import.meta.url)("../package.json");
|
|
124
124
|
const buildInfo = [];
|
|
125
|
-
buildInfo.push(`commit: ${"
|
|
126
|
-
buildInfo.push(`built: 2026-03-
|
|
125
|
+
buildInfo.push(`commit: ${"159f5613908026526a36f40c9389342e4edd85c3".substring(0, 7)}`);
|
|
126
|
+
buildInfo.push(`built: 2026-03-03T18:20:22+04:00`);
|
|
127
127
|
const buildString = buildInfo.length > 0 ? ` (${buildInfo.join(", ")})` : "";
|
|
128
128
|
const VERSION = `browserbird ${pkg.version}${buildString}`;
|
|
129
129
|
const BIRD = [
|
|
@@ -1536,6 +1536,7 @@ function buildRoutes(getConfig, startedAt, getDeps, options) {
|
|
|
1536
1536
|
handler(_req, res) {
|
|
1537
1537
|
const doctor = checkDoctor();
|
|
1538
1538
|
const defaultAgent = DEFAULTS.agents[0];
|
|
1539
|
+
const novncHost = !!process.env["RAILWAY_ENVIRONMENT_NAME"] ? "browserbird-vm.railway.internal" : DEFAULTS.browser.novncHost;
|
|
1539
1540
|
json(res, {
|
|
1540
1541
|
agent: {
|
|
1541
1542
|
name: defaultAgent.name,
|
|
@@ -1547,7 +1548,7 @@ function buildRoutes(getConfig, startedAt, getDeps, options) {
|
|
|
1547
1548
|
},
|
|
1548
1549
|
browser: {
|
|
1549
1550
|
enabled: DEFAULTS.browser.enabled,
|
|
1550
|
-
novncHost
|
|
1551
|
+
novncHost,
|
|
1551
1552
|
novncPort: DEFAULTS.browser.novncPort
|
|
1552
1553
|
},
|
|
1553
1554
|
doctor
|