Jump to content

http://ff.kis.v2.scr (...) not allowing access to static files while developing


Recommended Posts

Hello there!

I'm studying to be a dev and I'm stuck with a problem with http://ff.kis.v2.scr (...).

I am trying to build a website using Node and Express, so I created a "public" folder, and inside it, "css", "js" and "img" folders. I wrote:

app.use(express.static("public"));

in the app.js file, per Express documentation, and in my page "index.ejs" I wrote:

<link href="/css/styles.css" rel="stylesheet">
  </head>
  <body>
    <h1 class="a1">Testing</h1>
    <script src="/js/scripts.js"></script>
  </body>

The thing is that after i run "node app.js", "/css/styles.css" works fine, but "/js/scripts.js" doesn't. By clicking "View Page Source" on the page, it shows:

<link href="/css/styles.css" rel="stylesheet">
  <script type="text/javascript" src="http://ff.kis.v2.scr.kaspersky-labs.com/(numbers,letters and symbols)/main.js?attr=(numbers,letters and symbols)" charset="UTF-8"></script></head>

I tried going to Settings->Additional->Network', disable 'Inject script into web traffic...'. as said in the link below but it was no use. Any way you guys could help?

Thanks in advance,

Ivan.

 

Edited by ivan89x
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...