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