more work on api
This commit is contained in:
parent
6c61626e0f
commit
0c6d1ed790
4
api.py
4
api.py
@ -15,7 +15,7 @@
|
||||
'''
|
||||
import flask
|
||||
from flask import request, Response, abort
|
||||
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg
|
||||
import configparser, sys, random, threading, hmac, hashlib, base64, time, math, gnupg, os
|
||||
|
||||
from core import Core
|
||||
'''
|
||||
@ -96,6 +96,8 @@ class API:
|
||||
# Public means it is publicly network accessible
|
||||
self.validateHost('public')
|
||||
action = request.args.get('action')
|
||||
requestingPeer = request.args.get('myID')
|
||||
|
||||
if action == 'firstConnect':
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user