Commit 90e62baa by Belákovics Ádám

Basic integration for vm list query

parent 6c32511d
......@@ -44,11 +44,13 @@ INSTALLED_APPS = [
'rest_framework',
'djoser',
'rest_framework_swagger',
'corsheaders',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
......@@ -135,3 +137,7 @@ VM_ACCESS_PROTOCOLS = {
"rdp": ["Remote Desktop Protocol", 3389, "tcp"],
"ssh": ["Secure Shell", 22, "tcp"]
}
CORS_ORIGIN_WHITELIST = (
'localhost:3000',
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment