Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new API endpoint #363

Merged
merged 3 commits into from
Feb 11, 2023
Merged

Add new API endpoint #363

merged 3 commits into from
Feb 11, 2023

Conversation

mpociot
Copy link
Member

@mpociot mpociot commented Jan 12, 2023

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Jan 12, 2023

  • Added a new controller to return the connected subdomains
  • Updated the routes file with this new route
  • Created tests for it, including one that checks if we get an empty array when there are no tunnels yet (which is what happens in our current implementation) and another test where we add some fake data to Client::$subdomains so that they show up on /api/tunnels endpoint as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants