mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Updated check
This commit is contained in:
parent
5549cd8900
commit
794329be82
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ class Builds extends Action
|
|||
$resource->setAttribute('adapter', $detection->getName());
|
||||
$resource->setAttribute('fallbackFile', $detection->getFallbackFile() ?? '');
|
||||
$resource = $dbForProject->updateDocument('sites', $resource->getId(), $resource);
|
||||
} elseif ($adapter !== $detection->getName()) {
|
||||
} elseif ($adapter === 'ssr' && $detection->getName() === 'static') {
|
||||
throw new \Exception('Adapter mismatch. Detected: ' . $detection->getName() . ' does not match with the set adapter: ' . $adapter);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue