mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-21 17:48:47 +03:00
Remove unused method
This commit is contained in:
parent
89eee581db
commit
af7eeb6d26
@ -120,12 +120,6 @@ class GlancesBottle(object):
|
||||
# Return the static file
|
||||
return static_file('favicon.ico', root=self.STATIC_PATH)
|
||||
|
||||
def enable_cors(self):
|
||||
"""Enable CORS"""
|
||||
response.headers['Access-Control-Allow-Origin'] = '*'
|
||||
response.headers['Access-Control-Allow-Methods'] = 'PUT, GET, POST, DELETE, OPTIONS'
|
||||
response.headers['Access-Control-Allow-Headers'] = 'Origin, Accept, Content-Type, X-Requested-With, X-CSRF-Token'
|
||||
|
||||
def _api_plugins(self):
|
||||
"""
|
||||
Glances API RESTFul implementation
|
||||
|
Loading…
Reference in New Issue
Block a user