Enduro icon indicating copy to clipboard operation
Enduro copied to clipboard

Cannot open Admin interface on freshly created enduro project

Open j-holub opened this issue 5 years ago • 2 comments

Hey there,

first of all, thank you for creating this project, it seems like the perfect CMS that doesn't get into your way at first glace. I was eager to try it out, however, I cannot even open the Admin Interface, whenever I do I get the following error:

The page displays Cannot GET /admin and when I open the developer console it says

Refused to execute a script because its hash, its nonce, or 'unsafe-inline' appears in neither the script-src directive nor the default-src directive of the Content Security Policy

I'm on MacOs Mojave using Safari, but I've tried Chromium as well, same error.

Steps to reproduce

enduro new test enduro dev

open http://localhost:3000/admin in your browser.

j-holub avatar Feb 25 '19 15:02 j-holub

The correct url to open the admin UI is http://localhost:5000/admin

ericgla avatar Mar 22 '19 20:03 ericgla

enduro --version

2.0.15

Doesn't work here:

Error: ENOENT: no such file or directory, stat '$HOME/site-enduro/blog1/_generated/admin/index.html'

LucasMW avatar Jan 27 '20 18:01 LucasMW