DmitrMakeev commited on
Commit
cfb7e96
·
1 Parent(s): dbeac40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ app = flask.Flask(__name__)
5
  @app.route('/', defaults={'path': ''})
6
  @app.route('/', methods=['GET', 'POST'])
7
  def proxy(path):
8
- url = 'http://адрес_целевого_сервера/' + path
9
  headers = {'Content-Type': 'application/json'}
10
  response = requests.request(
11
  method=request.method,
 
5
  @app.route('/', defaults={'path': ''})
6
  @app.route('/', methods=['GET', 'POST'])
7
  def proxy(path):
8
+ url = 'https://vk.com/mackorlabs' + path
9
  headers = {'Content-Type': 'application/json'}
10
  response = requests.request(
11
  method=request.method,