Jun 24, 2021
0
Level 7
api base routes conflict with subdomain routes
Hello,
I register some subdomain routes before base domain's , It is working fine for me
web.php
Route::domain("admin." . Config::get("app.short_url"))->group(function () {
// Routes
});
// some basedomain routes
but when i try to register api route as base domain , all of api routes are attached with subdomain like =>
http://admin.localhost:8000/api/v1/****
could someone please let me know how should i avoid this small issue.Thanks
Please or to participate in this conversation.