mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
🔺GraphQL v0.1 + Devices table rebuild + removal of backend compatible scripts
This commit is contained in:
@@ -19,6 +19,7 @@ import sys
|
||||
import time
|
||||
import datetime
|
||||
import multiprocessing
|
||||
import subprocess
|
||||
|
||||
# Register NetAlertX modules
|
||||
import conf
|
||||
@@ -34,7 +35,6 @@ from notification import Notification_obj
|
||||
from plugin import run_plugin_scripts, check_and_run_user_event
|
||||
from device import update_devices_names
|
||||
|
||||
|
||||
#===============================================================================
|
||||
#===============================================================================
|
||||
# MAIN
|
||||
@@ -78,6 +78,11 @@ def main ():
|
||||
#===============================================================================
|
||||
# This is the main loop of NetAlertX
|
||||
#===============================================================================
|
||||
|
||||
mylog('debug', '[MAIN] Starting GraphQL server')
|
||||
|
||||
# Path to your `graphql_server.py` file
|
||||
flask_app_path = applicationPath + '/server/graphql_server.py'
|
||||
|
||||
mylog('debug', '[MAIN] Starting loop')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user