Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebeVE committed Mar 13, 2024
1 parent 37e44c0 commit f2092a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ expose.php
database/expose.db
.expose.php
.env
db.db
3 changes: 1 addition & 2 deletions app/Server/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ protected function addValidateTunnel()
{
$localCondition = 'request.headers.get("Host") matches "/^' . $this->host . ':' . $this->port . '$/i"';

// $this->router->get('/validate-tunnel', ValidateTunnelController::class, $localCondition);
$this->router->get('/validate-tunnel', ValidateTunnelController::class);
$this->router->get('/validate-tunnel', ValidateTunnelController::class, $localCondition);

return $this;
}
Expand Down

0 comments on commit f2092a6

Please sign in to comment.