mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-24 00:59:59 -05:00
removed unused var
This commit is contained in:
parent
b7415adfa3
commit
1534dd3301
@ -97,7 +97,7 @@ If you go to https://matweb.info/apidocs you can find a Swagger documentation.
|
|||||||
|
|
||||||
## Upload Endpoint
|
## Upload Endpoint
|
||||||
|
|
||||||
**Endpoint:** `/api/upload`
|
**Endpoint:** `/api/upload`__
|
||||||
|
|
||||||
**HTTP Verbs:** POST
|
**HTTP Verbs:** POST
|
||||||
|
|
||||||
|
2
main.py
2
main.py
@ -33,7 +33,7 @@ def create_app(test_config=None):
|
|||||||
|
|
||||||
# Restful API hookup
|
# Restful API hookup
|
||||||
api = Api(app)
|
api = Api(app)
|
||||||
swagger = Swagger(app)
|
Swagger(app)
|
||||||
CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}})
|
CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}})
|
||||||
api.add_resource(
|
api.add_resource(
|
||||||
rest_api.APIUpload,
|
rest_api.APIUpload,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user