cryogen-project/cryogen

deploy in nginx, but" hljs is not defined"

qdhaiqiang opened this issue · 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

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?