From 7e0fe0f7ecb650a71a780c3140a72ca30b7e373e Mon Sep 17 00:00:00 2001 From: Sagar Date: Wed, 16 Oct 2024 16:46:42 +0200 Subject: [PATCH] fix: the request now goes to rdkit instead of opedbabel which was throwing bad gateway error. --- app/Livewire/MoleculeDepict3d.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MoleculeDepict3d.php b/app/Livewire/MoleculeDepict3d.php index a4cafd91..2d196328 100644 --- a/app/Livewire/MoleculeDepict3d.php +++ b/app/Livewire/MoleculeDepict3d.php @@ -18,7 +18,7 @@ class MoleculeDepict3d extends Component #[Computed] public function source() { - return env('CM_API').'depict/3D?smiles='.urlencode($this->smiles).'&height='.$this->height.'&width='.$this->width.'&CIP='.$this->CIP.'&toolkit=openbabel'; + return env('CM_API').'depict/3D?smiles='.urlencode($this->smiles).'&height='.$this->height.'&width='.$this->width.'&CIP='.$this->CIP.'&toolkit=rdkit'; } public function render()