Skip to content

Commit ebd1e5e

Browse files
committed
Fix redirect URLs
1 parent 3d1cce0 commit ebd1e5e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/App.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ static function () use ( $slim ) {
193193

194194
$slim->get( 'tools', static function () use ( $slim ) {
195195
$page = new Pages\Redirect( $slim );
196-
$page->setBaseUrl( 'https://toolhub.wikimedia.org' );
197-
$page( '/' );
196+
$page->setBaseUrl( 'https://toolhub.wikimedia.org/' );
197+
$page( '' );
198198
} )->name( 'tools' );
199199

200200
$slim->get( 'tool/:name', static function ( $name ) use ( $slim ) {
@@ -205,8 +205,8 @@ static function () use ( $slim ) {
205205

206206
$slim->get( 'oge/status', static function () use ( $slim ) {
207207
$page = new Pages\Redirect( $slim );
208-
$page->setBaseUrl( 'https://sge-jobs.toolforge.org' );
209-
$page( '/' );
208+
$page->setBaseUrl( 'https://sge-jobs.toolforge.org/' );
209+
$page( '' );
210210
} )->name( 'oge-status' );
211211

212212
$slim->get( 'healthz', static function () use ( $slim ) {

0 commit comments

Comments
 (0)