Skip to content

Commit

Permalink
Let server host config.txt and cpu.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
James Swineson authored and James Swineson committed Jan 20, 2018
1 parent 95e3206 commit 601106c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pxe-server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

import hug

@hug.static('/xmr-stak')
def config_stor():
return ("config", )

@hug.static('/static')
def my_static_dirs():
def pxe_stor():
return ("release", )

@hug.get("/", output=hug.output_format.text)
Expand Down

0 comments on commit 601106c

Please sign in to comment.