Skip to content

Commit 3f9a510

Browse files
fix: mount server-expose at /api/server/expose
The handlers register at root `/`, so mounting at `/api/server` exposed them at `/api/server`, not `/api/server/expose` like the CLI expects. Move the mount one level deeper.
1 parent a3f27f8 commit 3f9a510

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function createApp() {
9797
app.route('/api/copier', copierRoutes)
9898
app.route('/api/github', githubRoutes)
9999
app.route('/api/monitoring', monitoringRoutes)
100-
app.route('/api/server', serverExposeRoutes)
100+
app.route('/api/server/expose', serverExposeRoutes)
101101
app.route('/api/system', systemRoutes)
102102
app.route('/api/exec', execRoutes)
103103
app.route('/api/apps', appsRoutes)

0 commit comments

Comments
 (0)