Skip to main content

subdomain config

Enable/Disable subdomain#

If you not want to use sub-domain, so will see this varibale mention below on root/.env, id its 1 thats mean its enable if its 0 thats mean is disable.

SUB_DOMAIN_ENABLE = 1# its enable
SUB_DOMAIN_ENABLE = 0# its disable

Change sub-domain#

All operation will perform in a single url on api is the sub domain which is by defaulted. if you want to modified api you can go to root/.env and find variable like this

SUB_DOMAIN = 'api'

you can modified api with your custom sub domain like

SUB_DOMAIN = 'crud'

so now your api has been changed to