Why does it show the wrong color scheme if I cd to ./public and start a web server? #5551
Unanswered
garyrob
asked this question in
Question / Answer
Replies: 1 comment
-
I guess I could run a reverse proxy with caddy in front of |
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
-
I am experimenting with hexo (using the cactus theme).
I have colorscheme set to white in _config.yml (and I get the same results whether I use hexo's _config.yml or that of the cactus theme).
When I run
hexo generate
and thenhexo server
, my site shows up in my browser as white. But when I cd to the public directory and runpython -m http.server 8000
orcaddy file-server
, and open the site, it shows up what appears to be the dark colorscheme. But everything else about it seems to work perfectly, include all other styling.I can't understand why that would happen. I want to be able to deploy the files to my own server and run caddy in the directory that contains them. But I need to be able to control the colorscheme. Given that your deployment docs say, "All generated files are saved in the public folder. You can copy them to wherever you like," it seems like I should be able to run the site from the public directory just as I would if I copied those files to another server.
Any thoughts??
Beta Was this translation helpful? Give feedback.
All reactions