Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #38 from TangRufus/dev-url-default
Browse files Browse the repository at this point in the history
Default `devUrl` to `http://<your-theme-name>.test`
  • Loading branch information
retlehs authored May 13, 2019
2 parents 7218dec + 61a1787 commit 6d8c105
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/Commands/ConfigCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ protected function configure()
parent::configure();
$this->configFile = "{$this->root}/resources/assets/config.json";
$this->config = json_decode(file_get_contents($this->configFile), true);
$this->config['devUrl'] = 'http://' . basename($this->root) . '.test';
$this->config['publicPath'] = '/app/themes/' . basename($this->root);

$this->addOption(
Expand Down

0 comments on commit 6d8c105

Please sign in to comment.