Skip to content

Commit

Permalink
Merge pull request #9 from balena-io/ab77/patch
Browse files Browse the repository at this point in the history
add default rote
  • Loading branch information
ab77 authored Jan 3, 2024
2 parents 97e717f + 78156e4 commit f187d16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

app = Flask(__name__)

@app.route('/')
def hello():
return 'Hello World!'

@app.route('/modprobe/<module>')
def modprobe(module):
subprocess.call(['modprobe',module])
Expand Down

0 comments on commit f187d16

Please sign in to comment.