index.html in subfolder public_html blank when accessed

eshya

Member
Sep 28, 2022
5
0
1
Indonesia
cPanel Access Level
Root Administrator
Right Now I'm putting the build folder vue website in the public_html folder. When I call the domain , the domain can run index.html and call the js and CSS files in it. But what I get is just a blank display on the website. But in local, its running just fine

From what you can see the difference when I run it locally is that the HTML link href="https://fonts.googleapis.com..." and the website's CDN file doesn't call the file in css src: url(https://fonts.gstatic. com/s/roboto/v30/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2)

Does anyone know how to solve the problem?
 

Attachments

eshya

Member
Sep 28, 2022
5
0
1
Indonesia
cPanel Access Level
Root Administrator
Hi

Can you please check log sof server whet error you are getting. Also please ceck the file permission and ownership of file

Regards
I Have preserved the permission file to 0644 for CSS and js file , 0755 for the folder. And from metrics -> error, from what I have observed there are no errors
 

eshya

Member
Sep 28, 2022
5
0
1
Indonesia
cPanel Access Level
Root Administrator
Are you able to manually visit the CSS file if you put that into a browser?
Yes , I can. What I see in index.html have
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
and in the CSS file have
src: url(https://fonts.gstatic. com/s/roboto/v30/KFOkCnqEu92Fr1MmgVxFIzIFKw.woff2)
but cant get the nested url
 

Attachments