diff --git a/app/controllers/general.php b/app/controllers/general.php index fd7599595a..48c80ab736 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -566,32 +566,6 @@ App::error() ); }); -App::get('/manifest.json') - ->desc('Progressive app manifest file') - ->label('scope', 'public') - ->label('docs', false) - ->inject('response') - ->action(function (Response $response) { - - $response->json([ - 'name' => APP_NAME, - 'short_name' => APP_NAME, - 'start_url' => '.', - 'url' => 'https://appwrite.io/', - 'display' => 'standalone', - 'background_color' => '#fff', - 'theme_color' => '#f02e65', - 'description' => 'End to end backend server for frontend and mobile apps. 👩‍💻👨‍💻', - 'icons' => [ - [ - 'src' => 'images/favicon.png', - 'sizes' => '256x256', - 'type' => 'image/png', - ], - ], - ]); - }); - App::get('/robots.txt') ->desc('Robots.txt File') ->label('scope', 'public') diff --git a/tests/e2e/General/HTTPTest.php b/tests/e2e/General/HTTPTest.php index e191fc471f..c9c08bb404 100644 --- a/tests/e2e/General/HTTPTest.php +++ b/tests/e2e/General/HTTPTest.php @@ -51,25 +51,6 @@ class HTTPTest extends Scope // $this->assertEquals('dev', $response['body']['version']); } - public function testManifest() - { - /** - * Test for SUCCESS - */ - $response = $this->client->call(Client::METHOD_GET, '/manifest.json', \array_merge([ - 'origin' => 'http://localhost', - 'content-type' => 'application/json', - ]), []); - - $this->assertEquals(200, $response['headers']['status-code']); - $this->assertEquals('Appwrite', $response['body']['name']); - $this->assertEquals('Appwrite', $response['body']['short_name']); - $this->assertEquals('.', $response['body']['start_url']); - $this->assertEquals('.', $response['body']['start_url']); - $this->assertEquals('https://appwrite.io/', $response['body']['url']); - $this->assertEquals('standalone', $response['body']['display']); - } - public function testHumans() { /**