Skip to content

Commit

Permalink
Default prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
GDXbsv committed Sep 24, 2024
1 parent 868b971 commit ddc678a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
final class Endpoint
{
public static function web(string $dsnString, string $prefix = '/'): void
public static function web(string $dsnString, string $prefix = 'app'): void
{
if ((isset($_GET['profile']) || isset($_GET['timer'])) && extension_loaded('excimer')) {
$excimer = ExcimerS3::ofDsn($dsnString);
Expand All @@ -23,7 +23,7 @@ public static function web(string $dsnString, string $prefix = '/'): void
}
}

public static function cli(string $dsnString, string $prefix = '/'): void
public static function cli(string $dsnString, string $prefix = 'app'): void
{
if (extension_loaded('excimer') && ((getenv("PROFILE") !== false) || (getenv("TIMER") !== false))) {
$excimer = ExcimerS3::ofDsn($dsnString);
Expand Down

0 comments on commit ddc678a

Please sign in to comment.