SHA1, SHA256 and SHA512 Implementation in JavaScript
Docs: MDN SubtleCrypto.digest()
Read moreThe chosen router link has a class .router-link-exact-active
Docs: Navigation Guards
As the name suggests, the navigation guards provided by Vue router are primarily used to guard navigations either by redirecting it or canceling it.
To …
Read moreDocs: django-cors-headers, django core settings
According to django-cors-headers, use:
python -m pip install django-cors-headers
to install django-cors-headers
and add it to installed apps in settings.py
INSTALLED_APPS = [
...,
"corsheaders",
...,
]
Add a middleware class to listen in on responses. The order of middlewares is important:
CorsMiddleware
should be placed …