You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
At first I tried to host this on my local machine and port forward, but I did not realize my chromebook blocks viewing websites directly from IP addresses, you had to use a domain name instead. Everything worked on localhost though. I decided to stick with Heroku, but when I used it, scripts and stylesheets did not load.
I did not look through the code to figure out the problem, but I'm guessing that requests to these paths are either:
not proxied
not proxied correctly (/index.js instead of /service/url/index.js)
I am happy to give more info if you need it.
The text was updated successfully, but these errors were encountered:
Same issue here. After looking at the webserver code for a bit, I found out that index.html in the pages directory didn't use any CSS at all. However, template.html had a stylesheet attached to it and looked exactly like incog.dev and its mirror sites.
A simple fix that should work for now is moving template.html to the pages folder and changing line 26 from [ '/', 'home', path.join(__dirname, 'pages', 'index.html') ], to [ '/', 'home', path.join(__dirname, 'pages', 'template.html') ],
At first I tried to host this on my local machine and port forward, but I did not realize my chromebook blocks viewing websites directly from IP addresses, you had to use a domain name instead. Everything worked on localhost though. I decided to stick with Heroku, but when I used it, scripts and stylesheets did not load.
I did not look through the code to figure out the problem, but I'm guessing that requests to these paths are either:
/index.js
instead of/service/url/index.js
)I am happy to give more info if you need it.
The text was updated successfully, but these errors were encountered: