Skip to content

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

@qdhaiqiang

Description

@qdhaiqiang

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions