cryogen icon indicating copy to clipboard operation
cryogen copied to clipboard

deploy in nginx, but" hljs is not defined"

Open qdhaiqiang opened this issue 3 years ago • 1 comments

My nginx conf

server {
    listen 60002;
    server_name localhost;

    location / {
        alias /opt/blog/public/blog/;
        error_page 404 = /404.html;
        try_files $uri $uri/ /index.html;
    }
}

When I open browser, the error is in console image

qdhaiqiang avatar Jul 20 '21 12:07 qdhaiqiang

It does not seem to be related to cryogen itself. Cryogen only generates your static files. No idea why loading the stylesheet fails with this error. Does the problem still persist?

holyjak avatar Oct 04 '21 20:10 holyjak