Skip to content

Commit

Permalink
Add admin URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Apr 11, 2024
1 parent 622903b commit a2ad551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "trendyminds/orbit-craft",
"type": "craft-plugin",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"authors": [
{
Expand Down
1 change: 1 addition & 0 deletions src/console/controllers/SyncController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function actionIndex(): int
'environment' => App::env('CRAFT_ENVIRONMENT') ?? App::env('ENVIRONMENT'),
'app_name' => Craft::$app->getSystemName(),
'url' => UrlHelper::siteUrl(),
'admin_url' => UrlHelper::cpUrl(),
'yii_version' => Craft::getVersion(),
'craft_version' => Craft::$app->getVersion().' '.App::editionName(Craft::$app->getEdition()),
'php_version' => App::phpVersion(),
Expand Down

0 comments on commit a2ad551

Please sign in to comment.