Skip to content

Commit

Permalink
Use config values for control panel URL
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbushnell committed Apr 13, 2024
1 parent b9f3003 commit 7fd1d68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
]
}
},
"version": "1.0.5",
"version": "1.0.6",
"require": {
"php": "^8.1",
"statamic/cms": "^4.0"
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/OrbitSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function handle()
'environment' => $this->laravel->environment(),
'app_name' => config('app.name'),
'url' => config('app.url'),
'admin_url' => route('statamic.cp.index'),
'admin_url' => config('app.url').'/'.config('statamic.cp.route'),
'laravel_version' => $this->laravel->version(),
'statamic_version' => Statamic::version().' '.(Statamic::pro() ? 'Pro' : 'Solo'),
'php_version' => phpversion(),
Expand Down

0 comments on commit 7fd1d68

Please sign in to comment.