Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 days ago.
Improve this question
I am currently testing my Web Application with different devices and for most of them everything works as intended. Sadly with my IPhone and Safari i am experiencing a weird issue, that it does a Preflight Options Request, when its the same origin. To my Knowledge this is not required. Sadly the Options fails. When testing with Chrome on the same device everything worked. I also tested Safari on a different Iphone and it worked there.
Now the really confusing part is, when clicking on a link to the website in Discord for example with safari it works aswell without doing a Options.
I know that in a "perfekt" World the Options should not fail, but that is another struggle when i was deploying the app. Currently frontend runs under https://example.com and the API under https://example.com/api. I am a absolute beginner with CORS and i am quite confused why this error happens. Another problem is that i cant really use devtools on the iphone to have a exact error message. I can only see the Options in the nginx logs and then the missing follow up request.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 16 hours ago.
Improve this question
Deployment MERN App on Vercel
I've been using Vercel to host several React web applications and it's been great! Recently, I upgraded an existing project with a backend (Express.js and MongoDB Atlas) and I'd like to host it there as well.
I would like to know if the configuration that I've put in my repository is correct in order to make it work on Vercel. Vercel's documentation focuses on serverless deployment, and while I don't mind rewriting my backend if I have to, I'm wondering if there's an easier solution for adding a server/database.
The MERN stack is still relatively popular so I imagine a lot of developers have found a way to host this kind of project. If anyone can help, I would really appreciate it
Here is my repo: https://gitlab.com/narcamarco/project-tours
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
I am building an app that tracks the position of the ISS and is pretty much fully developed but when building - the API is an http and not https, which is something I overlooked and its been very hard to get around. Netlify offers a way to do it with _redirects but I'm very confused and have been trying for hours.
Does Firebase have a way to authenticate the http API I'm fetching and then deploy it so it will run normally?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
My react app was showing white screen on some phone version (mostly ios) and when I finally debugged it with a mac I got this error : TypeError: u.split("+").at is not a function. (In 'u.split("+").at(-1)', 'u.split("+").at' is undefined)
Also by the side of the is "createForOfIteratorHelper.js:50"
Another is, my backend is built with django rest framework.
Lastly, the website worked fine on other devices and latest versions of ios.
I am really confused on what to do to this error as I am just an amateur in react
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 9 months ago.
Improve this question
when i deploy my new react project to Github pages it works well but when i add a custom domain it shows error like
any solutions??
Seems like your server does not have the resources need to load this site. JavaScript files are chunked into small pieces to fast load the application, as you can see your site is not getting those.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have inserted the code for my mobile site a couple of weeks ago, and it's not showing up in almost all of my tests. The only browser It's working on is Chrome on Android (tested on Galaxy S2). It's not showing up on iPhones, tested both Safari and Chrome on several different devices.
The site is http://m.radicalislam.org
I've looked at this article, and couldn't find any applicable solution
My first step into debugging this issue would be to set the option in Adsense to show a backup ad of a solid colour e.g. Blue or something obvious. This will give you a clue as to whether there is an issue in displaying anything from Google, or if it is an issue specifically with Google serving you adverts.
If the blue colour doesn't show, that might be a good thing, as it could just mean there is an issue with your code (maybe a conflict with all the page speed stuff you've got going on?).
If it does show, then that means Google isn't serving you ads. There's a number of reasons as to why that may be: https://support.google.com/adsense/bin/answer.py?hl=en-GB&answer=75764&topic=2453404&parent=23384&rd=1