Replies: 2 comments
-
Check if your ip is set to your host machine instead on localhost cause locahost iPhone won't link to your dev machine. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Next.js 15.1 and later has a network (remote) URL on both |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm having some issues testing my Next app on my iPhone. I'm using rewrites to get around localhost CORS issues, and everything works great on my dev machine.
On a connected iPhone, however, I'm only able to load routes. If I try to make a fetch from the client, the Safari Web Inspector is spits out the errors "Could not connect to the server" and "Fetch api cannot load [fetch url] due to access control checks". In the network > security tab, I'm getting "The resource was request insecurely".
Does anyone know the cause of this, and/or better yet, what to do?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions