Skip to content

Commit 303de44

Browse files
committed
fix: correct URL generation for config path by trimming trailing dots
1 parent 44722db commit 303de44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arma-reforger-workshop/src/Filament/Server/Pages/ArmaReforgerWorkshopPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ protected function getHeaderActions(): array
359359
Action::make('open_config')
360360
->label('Edit Config')
361361
->icon('tabler-file-settings')
362-
->url(fn () => ListFiles::getUrl(['path' => dirname(ArmaReforgerWorkshop::getConfigPath($server)) ?: '/']), true),
362+
->url(fn () => ListFiles::getUrl(['path' => rtrim(dirname(ArmaReforgerWorkshop::getConfigPath($server)), '.') ?: '/']), true),
363363
];
364364
}
365365

0 commit comments

Comments
 (0)