Skip to content

Commit

Permalink
included get article by uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
freelancing-solutions committed May 30, 2023
1 parent 3eefc60 commit f2d33e2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@

app: Flask = create_app(config=config_instance())

app.config['MIME_TYPES'] = {'js': 'application/javascript', 'css': 'text/css', 'woff': 'font/woff',
'woff2': 'font/woff2'}
app.config['MIME_TYPES'] = {
'js': 'application/javascript',
'css': 'text/css',
'woff': 'font/woff',
'woff2': 'font/woff2'
}

_origin: str = config_instance().SERVER_NAME
CORS(app, resources={r"/*": {"origins": _origin}})
Expand Down

0 comments on commit f2d33e2

Please sign in to comment.