S
S
Sizoider2016-02-19 14:40:47
css
Sizoider, 2016-02-19 14:40:47

Can't connect Css file (localhost)?

Hi all.
I started making a website using Node.js, Mongodb, and ran into a problem connecting files. Neither css nor js files are connected
, I can’t specify the correct path in any way.
The cdn file connects normally, but it doesn’t want to from the folder in any way
in the screenshot, the folder structure, an error from the console
3bf4cb41adc24274996bc6bb07c83888.png
comrades help, the whole brain has already broken

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Yandimirkin, 2016-02-19
@Sizoider

The problem is in the paths, your index.ejs is clearly not at the root, compile everything into the build folder and you will be happy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question