fix: open container directory at WorkingDir instead of root by jakub961241 · Pull Request #12265 · 1Panel-dev/1Panel

@jakub961241

…ev#12255)

When clicking "Directory" on a container, the file browser always
opened at `/` (root). Now it inspects the container first and opens
at the container's configured WorkingDir (e.g., `/app`, `/var/www`).

Falls back to `/` if WorkingDir is not set or inspect fails.

Fixes 1Panel-dev#12255

HynoR pushed a commit to HynoR/1Panel that referenced this pull request

Mar 29, 2026
…ev#12265)

When clicking "Directory" on a container, the file browser always
opened at `/` (root). Now it inspects the container first and opens
at the container's configured WorkingDir (e.g., `/app`, `/var/www`).

Falls back to `/` if WorkingDir is not set or inspect fails.

Fixes 1Panel-dev#12255

justadri pushed a commit to justadri/1Panel that referenced this pull request

Mar 29, 2026
…ev#12265)

When clicking "Directory" on a container, the file browser always
opened at `/` (root). Now it inspects the container first and opens
at the container's configured WorkingDir (e.g., `/app`, `/var/www`).

Falls back to `/` if WorkingDir is not set or inspect fails.

Fixes 1Panel-dev#12255