diff options
author | jgart | 2024-07-31 15:31:04 -0500 |
---|---|---|
committer | jgart | 2024-07-31 15:31:04 -0500 |
commit | 8bcb99e7d1fe7d5519935923d382a5deaa769936 (patch) | |
tree | 86f84939956d3c6a3b74e97950674a06ad1e0878 | |
parent | 3c7e6101384e78232a62cd471ac8fd83c8fca3f5 (diff) | |
download | guix-bioinformatics-8bcb99e7d1fe7d5519935923d382a5deaa769936.tar.gz |
genecup: disable debug mode in flask application for production
-rw-r--r-- | gn/packages/genecup.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gn/packages/genecup.scm b/gn/packages/genecup.scm index d0689e6..868bfff 100644 --- a/gn/packages/genecup.scm +++ b/gn/packages/genecup.scm @@ -155,6 +155,11 @@ if __name__ == '__main__': (lambda _ (substitute* "server.py" (("4200") "4204")))) + ;; TODO: This should be disabled in the source. + (add-after 'unpack 'disable-debug-mode + (lambda _ + (substitute* "server.py" + (("debug=True") "debug=False")))) (add-after 'unpack 'make-files-writable (lambda _ (for-each make-file-writable (find-files ".")))) |