Bug Report #13
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/live-server.nvim#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Info
nvim --version: v.0.11.0<node-package-manager> --version: v21.7.3live-server --version: 1.2.2Configuration
return {
'barrett-ruth/live-server.nvim',
build = 'pnpm add -g live-server',
cmd = { 'LiveServerStart', 'LiveServerStop' },
config = true
}
Description
When I run :LiveServerStart command in neovim it is giving me error:
Cannot GET /
I think I've narrowed the problem down a bit. It seems to be stemming from this when i open developer tools in the browser:
Content-Security-Policy: The page’s settings blocked the loading of a resource (img-src) at http://127.0.0.1:5555/favicon.ico because it violates the following directive: “default-src 'none'”.
When I use the live-server command in the terminal there is no problem. Only when using this plugin do i encoutner the issue
seems the most recent update
fde21e3is causing the "Cannot GET /" issue for me.Can you replicate the issue please, given the files, directory locations, and cmds you run in neovim? Thanks
To replicate issue opened up simple index.html file with boiler plate HTML and ran :LiveServerStart in neovim. This issue only happens with repo's latest commit
should be fixed in most recent commit
works now, thank you