P
P
penta-bongo2022-03-16 08:13:01
HTML
penta-bongo, 2022-03-16 08:13:01

Why did I get this error after connecting liveserver Not allowed to load local resource: file:///?

Hello everyone, I recently connected the Live server extension for vs code, so that after saving, my html page is automatically updated with a test page, and this error appeared Not allowed to load local resource: file:/// when you open the page directly, without this no expansion problem.
How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
penta-bongo, 2022-03-16
@penta-bongo

https://htmlacademy.ru/blog/boost/frontend/links
You need to take the path to the file through the url that was specified when opening html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question