Skip to content

Commit 1278e71

Browse files
authored
Prefix the default cachet path with slash (#90)
1 parent d738157 commit 1278e71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/cachet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
|
2222
| This is the URI path where Cachet will be accessible from.
2323
*/
24-
'path' => env('CACHET_PATH', 'status'),
24+
'path' => env('CACHET_PATH', '/status'),
2525

2626
'guard' => env('CACHET_GUARD', null),
2727

src/Cachet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static function routes(): PendingRouteRegistration
5858
*/
5959
public static function path(): string
6060
{
61-
return config('cachet.path', 'status');
61+
return config('cachet.path', '/status');
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)