Commit 2e162c01 authored by Volkov Gherman's avatar Volkov Gherman

Fix first version of docusign app

parent e799ec74
......@@ -31,7 +31,7 @@
<script>
const sendForm = (e) => {
e.preventDefault();
fetch('http://localhost:8000/api/v1/', {
fetch('http://localhost:8000', {
method: 'POST',
body: new FormData(form)
}).then(form.reset())
......
......@@ -116,8 +116,8 @@ AUTH_PASSWORD_VALIDATORS = [
CORS_ORIGIN_ALLOW_ALL = False
CORS_ORIGIN_WHITELIST = [
'http://loaclhost:8000/api/v1/',
'http://127.0.0.1:8000/api/v1/'
'http://loaclhost:8000',
'http://127.0.0.1:8000'
]
# Internationalization
......@@ -146,6 +146,12 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
DOCUSIGN_INTEGRATION_KEY = os.getenv('DOCUSIGN_INTEGRATION_KEY')
DOCUSIGN_PRIVATE_KEY_PATH = os.path.join(BASE_DIR, 'docusign_test_app-python/app/private.key')
print(DOCUSIGN_PRIVATE_KEY_PATH)
DOCUSIGN_AUTH_SERVER = 'https://account-d.docusign.com'
DOCUSIGN_API_SERVER = 'https://api-d.docusign.com'
EMAIL_USE_TLS = True
EMAIL_HOST = None
EMAIL_HOST_USER = None
EMAIL_HOST_PASSWORD = None
EMAIL_PORT = 587
......@@ -22,5 +22,5 @@ from api.views import IndexView
urlpatterns = [
path('admin/', admin.site.urls),
path('api/v1/', IndexView.as_view()),
path('', IndexView.as_view()),
]
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 to comment