]> BookStack Code Mirror - bookstack/commit
Added configurable robots.txt file.
authorDan Brown <redacted>
Sat, 31 Mar 2018 11:41:40 +0000 (12:41 +0100)
committerDan Brown <redacted>
Sat, 31 Mar 2018 11:41:40 +0000 (12:41 +0100)
commit1a72208d27e1b27034fd9eb5f657d6f3cd0c5ad7
tree6f9d29f3e2c29d9db6bb1d65e1c5d6aa51b0c358
parent7f437c2e3cf111aebee4454a3c6fea79f7fbded7
Added configurable robots.txt file.

Deleted old static file.
Default output depends on app-public setting.
Otherwise can be overidden in `.env` file via `ALLOW_ROBOTS`
Otherwise view file can be customized.

Fixes #779
app/Http/Controllers/HomeController.php
config/app.php
public/robots.txt [deleted file]
resources/views/robots.blade.php [new file with mode: 0644]
routes/web.php
tests/PublicActionTest.php