N
N
Nikita Vorobyov2018-06-01 22:14:47
css
Nikita Vorobyov, 2018-06-01 22:14:47

What is the difference between address assignments?

What is the difference between assets/build/css/and ./assets/build/css/?
I saw it in plugins for galp. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2018-06-01
@cozqvic

In this case, they are equivalent, it's a matter of how the relative paths are written.
But in the general case, URIs have subtleties. A relative URI may need to be used ./explicitly because the colon in a URI can have different meanings, and one of them takes precedence. Let's say if your path is relative ass:hole/butt(possible, but not in the case of an HTTP URL), you need to write ./ass:hole/butt, otherwise it will not be interpreted as a relative path, but as a scheme component assand an absolute path hole/butt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question