We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5a07c commit 529a6dbCopy full SHA for 529a6db
flask_apidoc/apidoc.py
@@ -76,15 +76,15 @@ def __send_static_file(self, path=None):
76
77
file_name = join(self.folder_path, path)
78
79
- # Both api_project.js and api_data.js have the absolute url
+ # the api_project.js has the absolute url
80
# hard coded so we replace them by the current url.
81
- if path == 'api_project.js' or path == 'api_data.js':
+ if path == 'api_project.js':
82
return self.__send_api_file(file_name)
83
84
# Any other apidoc file is treated as a normal static file
85
return self.app.send_static_file(file_name)
86
87
- @lru_cache(maxsize=None, typed=True)
+ @lru_cache(maxsize=None)
88
def __send_api_file(self, file_name):
89
"""
90
Sends apidoc files from the apidoc folder to the browser.
0 commit comments