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

Map domain to database version using backend route #599

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

AndrewKostka
Copy link
Contributor

No description provided.

@AndrewKostka AndrewKostka changed the title Add a backend route mapping domains to their database versions Map domain to database version using backend route Feb 24, 2025
if (is_null($version)) {
abort(401);
}
return response('1')->header('x-version', $version);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@tarrow tarrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks find to me; I've not tested this locally but I like the addition of the unit tests

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