Create: api handlers

This commit is contained in:
2024-05-26 23:06:58 +09:00
parent f9a213fe3e
commit 1d72b8d015
5 changed files with 237 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from settings.platform import PLATFORM_TYPE
# Name of nginx container:
INPUT_HOSTNAME = 'input' if PLATFORM_TYPE == 'vm' else 'dci_input_1'
# Port that nginx container is listening:
INPUT_PORT = '1500'
# Headers for internal auth:
HEADERS = {"Internal-Auth": "on", "Accept": "application/json"}