dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

how to configure mutiple api_domain for one project? #1547

Open skyhee opened 6 years ago

skyhee commented 6 years ago

in .env file,there's a field named API_DOMAIN for dingo, but how to configure mutiple domains in one project?

skyhee commented 6 years ago

i don't want to use API_PREFIX

liujingyu commented 6 years ago

origin laravel route support mutiple domains and rewrite app('api.router')