Skip to content

Commit

Permalink
Only support x86_64 architecture (#68)
Browse files Browse the repository at this point in the history
Hardcode architecture to x86_64
  • Loading branch information
stefanzweifel authored May 1, 2023
1 parent 4263f3d commit e7efba4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Functions/BrowsershotFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Wnx\SidecarBrowsershot\Functions;

use Hammerstone\Sidecar\Architecture;
use Hammerstone\Sidecar\LambdaFunction;
use Hammerstone\Sidecar\Package;
use Hammerstone\Sidecar\Runtime;
Expand Down Expand Up @@ -71,6 +72,14 @@ public function storage()
return config('sidecar-browsershot.storage', parent::storage());
}

/**
* @inheritDoc
*/
public function architecture()
{
return Architecture::X86_64;
}

public function warmingConfig()
{
return WarmingConfig::instances(config('sidecar-browsershot.warming'));
Expand Down

0 comments on commit e7efba4

Please sign in to comment.