Skip to content

Commit

Permalink
Make snake_hook flask plugin links relative
Browse files Browse the repository at this point in the history
  • Loading branch information
jamcleod authored and Andrew Fasano committed Nov 19, 2021
1 parent cf5c85a commit 0e04ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ venv
/docs/qemu-qmp-ref.txt
/docs/version.texi
/panda/plugins/*/docs/
**/target
*.tps
.stgit-*
.git-submodule-status
Expand Down
2 changes: 1 addition & 1 deletion panda/python/core/pandare/pypluginmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def _do_serve(self):
@self.app.route("/")
def index():
return "PANDA PyPlugin web interface. Available plugins:" + "<br\>".join( \
[f"<li><a href='/{name}'>{name}</a></li>" \
[f"<li><a href='./{name}'>{name}</a></li>" \
for name in self.plugins.keys() \
if hasattr(self.plugins[name], 'flask')])

Expand Down

0 comments on commit 0e04ebd

Please sign in to comment.