fix: service template generator + appwrite
This commit is contained in:
parent
8bfc1a7c06
commit
69691b2ca7
@ -89,7 +89,9 @@ private function process_file($file)
|
||||
'compose' => $yaml,
|
||||
];
|
||||
if ($env_file) {
|
||||
$payload['envs'] = $env_file;
|
||||
$env_file_content = file_get_contents(base_path("templates/compose/$env_file"));
|
||||
$env_file_base64 = base64_encode($env_file_content);
|
||||
$payload['envs'] = $env_file_base64;
|
||||
}
|
||||
return $payload;
|
||||
}
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
class ComposeModal extends Component
|
||||
{
|
||||
public string $raw;
|
||||
public string $actual;
|
||||
public ?string $raw = null;
|
||||
public ?string $actual = null;
|
||||
public function render()
|
||||
{
|
||||
return view('livewire.project.service.compose-modal');
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user