* robots.txt added
* deploy updated * export route changed to include file extension
This commit is contained in:
parent
b17a4c71f7
commit
23ad3132c3
@ -29,4 +29,4 @@
|
||||
$app->get('/', App\Action\HomePageAction::class, 'home');
|
||||
$app->get('/api/galleries', App\Action\ListGalleriesAction::class, 'api.galleries');
|
||||
$app->get('/image/{slug}/{image}[/{thumb}]', App\Action\GetImageAction::class, 'download.image');
|
||||
$app->get('/export-album/{slug}', App\Action\ExportAlbumAction::class, 'export.album');
|
||||
$app->get('/export-album/{slug}.zip', App\Action\ExportAlbumAction::class, 'export.album');
|
||||
|
||||
@ -21,7 +21,7 @@ set('writable_dirs', []);
|
||||
set('keep_releases', 3);
|
||||
set('default_stage', 'production');
|
||||
|
||||
server('prod', 'alfheim.ragnarok.yvan.hu', 22)
|
||||
host('alfheim.ragnarok.yvan.hu', 22)
|
||||
->stage('production')
|
||||
->user('yvan')
|
||||
->forwardAgent()
|
||||
|
||||
3
public/robots.txt
Normal file
3
public/robots.txt
Normal file
@ -0,0 +1,3 @@
|
||||
User-agent: *
|
||||
Disallow: /export/
|
||||
Disallow: /export-album/
|
||||
Loading…
x
Reference in New Issue
Block a user