Made OCI compliant; monochrome icon added
This commit is contained in:
6
app.py
6
app.py
@@ -649,8 +649,12 @@ def icon_maskable():
|
||||
def icon_rounded():
|
||||
return send_from_directory('static', 'icon512_rounded.png')
|
||||
|
||||
@app.route('/icon512_monochrome.png')
|
||||
def icon_monochrome():
|
||||
return send_from_directory('static', 'icon512_monochrome.png')
|
||||
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description='CatNote: Server for Markdown to MXW01 Cat Printer')
|
||||
parser.add_argument('-p', '--port', type=int, default=5000, help='Port to run the server on (default: 5000)')
|
||||
args = parser.parse_args()
|
||||
app.run(host='0.0.0.0', port=args.port)
|
||||
app.run(host='0.0.0.0', port=args.port)
|
||||
|
||||
Reference in New Issue
Block a user