Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jonaspauleta's avatar

Error on Production

Hi guys,

It getting my app into production using Digital Ocean Apps Platform. I'm using inertia, so it uses XMLHttpRequests, and I don't know how to allow that on Digital Ocean App Platform. https://imgur.com/QI9uOF8

Glad for your help.

0 likes
7 replies
Tray2's avatar

It looks like your issue is on line 231 in your app.js. So start there, you probably have specified a url there that you forgot the s in https.

Sinnbeck's avatar

How are you generating the link that it's complaining about ? Show some code

jonaspauleta's avatar

Guys, note that this app is a fresh Jetstream app, created with the command "laravel new name --jet --stack=inertia" and no changes on code. This runs pretty well on my computer, even on a local server running with nginx or apache, the issue there is with Digital Ocean's APP Platform blocking the xhr (XMLHttpRequest) that Inertia.js I've also searched on the Digital Ocean's APP Platform documentation but I haven't found anything regarding on an issue like this

Please or to participate in this conversation.