eclipse-cs icon indicating copy to clipboard operation
eclipse-cs copied to clipboard

Figure out how to test site on local ( before deploy)

Open romani opened this issue 5 years ago • 0 comments

How is it possible to open web site in on local? When I open docs/index.html in browser - page has only top menu. Is there some action required to make it work ?

From Lars: opening the docs/index.html used to work (in Firefox). It seems they changed a security setting to disallow loading local resources from file:// urls.

It's still working for me in Edge, Chrome I didn't test.

To workaround you could run a simple python http server from the directory as described here: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server

romani avatar Nov 16 '19 03:11 romani