mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Remove leftover
This commit is contained in:
parent
64e2f904c5
commit
5dd4348d5c
2 changed files with 5 additions and 7 deletions
|
|
@ -508,7 +508,6 @@ return [
|
||||||
'useCases' => ['starter'],
|
'useCases' => ['starter'],
|
||||||
'screenshotDark' => $url . '/images/sites/templates/astro-starter-dark.png',
|
'screenshotDark' => $url . '/images/sites/templates/astro-starter-dark.png',
|
||||||
'screenshotLight' => $url . '/images/sites/templates/astro-starter-light.png',
|
'screenshotLight' => $url . '/images/sites/templates/astro-starter-light.png',
|
||||||
'demoImage' => '',
|
|
||||||
'frameworks' => [
|
'frameworks' => [
|
||||||
getFramework('ASTRO', [
|
getFramework('ASTRO', [
|
||||||
'providerRootDirectory' => './astro/starter',
|
'providerRootDirectory' => './astro/starter',
|
||||||
|
|
@ -526,7 +525,6 @@ return [
|
||||||
'useCases' => ['starter'],
|
'useCases' => ['starter'],
|
||||||
'screenshotDark' => $url . '/images/sites/templates/remix-starter-dark.png',
|
'screenshotDark' => $url . '/images/sites/templates/remix-starter-dark.png',
|
||||||
'screenshotLight' => $url . '/images/sites/templates/remix-starter-light.png',
|
'screenshotLight' => $url . '/images/sites/templates/remix-starter-light.png',
|
||||||
'demoImage' => '',
|
|
||||||
'frameworks' => [
|
'frameworks' => [
|
||||||
getFramework('REMIX', [
|
getFramework('REMIX', [
|
||||||
'providerRootDirectory' => './remix/starter',
|
'providerRootDirectory' => './remix/starter',
|
||||||
|
|
@ -544,7 +542,6 @@ return [
|
||||||
'useCases' => ['starter'],
|
'useCases' => ['starter'],
|
||||||
'screenshotDark' => $url . '/images/sites/templates/flutter-starter-dark.png',
|
'screenshotDark' => $url . '/images/sites/templates/flutter-starter-dark.png',
|
||||||
'screenshotLight' => $url . '/images/sites/templates/flutter-starter-light.png',
|
'screenshotLight' => $url . '/images/sites/templates/flutter-starter-light.png',
|
||||||
'demoImage' => '',
|
|
||||||
'frameworks' => [
|
'frameworks' => [
|
||||||
getFramework('FLUTTER', [
|
getFramework('FLUTTER', [
|
||||||
'providerRootDirectory' => './flutter/starter',
|
'providerRootDirectory' => './flutter/starter',
|
||||||
|
|
|
||||||
|
|
@ -1970,10 +1970,11 @@ App::setResource('previewHostname', function (Request $request, ?Key $apiKey) {
|
||||||
$allowed = true;
|
$allowed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($allowed) {
|
||||||
$host = $request->getQuery('appwrite-hostname', $request->getHeader('x-appwrite-hostname', ''));
|
$host = $request->getQuery('appwrite-hostname', $request->getHeader('x-appwrite-hostname', ''));
|
||||||
if (!empty($host)) {
|
if (!empty($host)) {
|
||||||
return $host;
|
return $host;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue