Skip to content

Commit

Permalink
add hostname to output
Browse files Browse the repository at this point in the history
  • Loading branch information
michabbb authored Dec 27, 2016
1 parent 53c2e55 commit cc44a3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Blueprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ protected function generateContentsFromResources(Collection $resources, $name)
$contents = '';

$contents .= $this->getFormat();
$contents .= $this->line(1);
$contents .= 'HOST: ' . \Config::get('api.protocol') . '://' . \Config::get('api.domain') . '/' . \Config::get('api.prefix');
$contents .= $this->line(2);
$contents .= sprintf('# %s', $name);
$contents .= $this->line(2);
Expand Down

0 comments on commit cc44a3e

Please sign in to comment.