Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy in nginx, but" hljs is not defined" #238

Open
qdhaiqiang opened this issue Jul 20, 2021 · 1 comment
Open

deploy in nginx, but" hljs is not defined" #238

qdhaiqiang opened this issue Jul 20, 2021 · 1 comment

Comments

@qdhaiqiang
Copy link

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

@holyjak
Copy link
Contributor

holyjak commented Oct 4, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants