Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2984c41081 | |||
| d143d73ea9 | |||
| 9f8a6eaa76 | |||
| 0af8da2c9d | |||
| fa96d371d6 |
@@ -1,5 +1,15 @@
|
||||
# Changelog
|
||||
|
||||
## Pending
|
||||
|
||||
|
||||
## 2026-05-20 - 1.26.2
|
||||
|
||||
### Fixes
|
||||
|
||||
- reload SmartProxy routes after managed startup (proxy)
|
||||
- reloads SmartProxy routes immediately after the admin API is ready during startup, avoiding an empty route table when Docker task state lags behind service readiness
|
||||
|
||||
## 2026-05-09 - 1.26.1 - fix(external-gateway)
|
||||
derive gateway client identity from the dcrouter token and make the settings UI read-only
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@serve.zone/onebox",
|
||||
"version": "1.26.1",
|
||||
"version": "1.26.2",
|
||||
"exports": "./mod.ts",
|
||||
"tasks": {
|
||||
"test": "deno test --allow-all test/",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@serve.zone/onebox",
|
||||
"version": "1.26.1",
|
||||
"version": "1.26.2",
|
||||
"description": "Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers",
|
||||
"main": "mod.ts",
|
||||
"type": "module",
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/onebox',
|
||||
version: '1.26.1',
|
||||
version: '1.26.2',
|
||||
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ export class SmartProxyManager {
|
||||
|
||||
await this.waitForReady();
|
||||
this.serviceRunning = true;
|
||||
await this.reloadConfig();
|
||||
await this.reloadConfig({ skipRunningCheck: true });
|
||||
|
||||
logger.success(`SmartProxy started (HTTP: ${this.httpPort}, HTTPS: ${this.httpsPort}, Admin: ${this.adminUrl})`);
|
||||
} catch (error) {
|
||||
@@ -360,11 +360,13 @@ export class SmartProxyManager {
|
||||
return routeConfigs;
|
||||
}
|
||||
|
||||
async reloadConfig(): Promise<void> {
|
||||
const isRunning = await this.isRunning();
|
||||
if (!isRunning) {
|
||||
logger.warn('SmartProxy not running, cannot reload config');
|
||||
return;
|
||||
async reloadConfig(options: { skipRunningCheck?: boolean } = {}): Promise<void> {
|
||||
if (!options.skipRunningCheck) {
|
||||
const isRunning = await this.isRunning();
|
||||
if (!isRunning) {
|
||||
logger.warn('SmartProxy not running, cannot reload config');
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const routes = this.buildRoutes();
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/onebox',
|
||||
version: '1.26.1',
|
||||
version: '1.26.2',
|
||||
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user