Answer the question
In order to leave comments, you need to log in
nginx. How to deny access to the root of the site, but allow access to links of a certain type?
Good afternoon.
Please tell me how to deny access to the root of the site, but allow access to links of a certain type?
Links like this:
https://mysite.ru/597acac585c284f55cea086f?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
Answer the question
In order to leave comments, you need to log in
Ну во-первых: это не javascript, а фреймворк jQuery, на чистом javascript все было бы гараздо сложней, все таки стоит различать.
Возможно еще поможет api.jquery.com/toggleClass , ну или рецепт из первого комментария
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question