Spaces:
Runtime error
Runtime error
Commit
·
cfb7e96
1
Parent(s):
dbeac40
Update app.py
Browse files
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 = '
|
| 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,
|