kordix

Reaching api after deployment on Digital Ocean

Posted 1 week ago by kordix

Such api route: http://localhost:8000/api/handles/KK works perfectly on local serving But after deploying the app on DigitalOcean I can't get to api in any way. I tried http:// MYIP /mysite/api/handles/KK or http://MYIP/mysite/public/api/handles/KK

(the app isn't directly in www folder but subfolder since i have many apps)

EDIT now it works after I run php artisan serve on remote server, but do I have to keep it all the time or what? Is that a proper method?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.