Skip to content

Commit

Permalink
API in Sitemap + new Twitter URI + updates (#123)
Browse files Browse the repository at this point in the history
* Twitter URI

* Sitemap /api added and updates to composer
  • Loading branch information
annejan authored Jun 27, 2022
1 parent 58117cf commit afc1293
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 140 deletions.
4 changes: 4 additions & 0 deletions app/Console/Commands/GenerateSitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public function handle()
->add(
Url::create('/badges')
->setLastModificationDate($this->getLastUpdatedBadge())
)
->add(
Url::create('/api')
->setLastModificationDate($this->getLastUpdatedBadge())
);

Project::all()->each(function (Project $project) use ($sitemap) {
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"verschuur/laravel-robotstxt": "^3"
},
"require-dev": {
"ext-dom": "*",
"barryvdh/laravel-ide-helper": "^2.7",
"codacy/coverage": "^1.4",
"codeception/codeception": "^4.1",
Expand Down
Loading

0 comments on commit afc1293

Please sign in to comment.